Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
origin-web-common
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Java-于龙
origin-web-common
Commits
2095ef40
Commit
2095ef40
authored
Apr 24, 2017
by
David Taylor
Committed by
GitHub
Apr 24, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #48 from jeff-phillips-18/toast
Fix module for notifications service
parents
219f8a6d
7a77dedc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
origin-web-common-ui.js
dist/origin-web-common-ui.js
+1
-1
origin-web-common.js
dist/origin-web-common.js
+1
-1
origin-web-common.min.js
dist/origin-web-common.min.js
+1
-1
notificationsService.js
src/ui-services/notificationsService.js
+1
-1
No files found.
dist/origin-web-common-ui.js
View file @
2095ef40
...
...
@@ -1389,7 +1389,7 @@ angular.module('openshiftCommonUI').factory('GuidedTourService', function() {
});
;
'use strict'
;
angular
.
module
(
'openshiftCommon
Services
'
).
provider
(
'NotificationsService'
,
function
()
{
angular
.
module
(
'openshiftCommon
UI
'
).
provider
(
'NotificationsService'
,
function
()
{
this
.
dismissDelay
=
8000
;
this
.
autoDismissTypes
=
[
'info'
,
'success'
];
...
...
dist/origin-web-common.js
View file @
2095ef40
...
...
@@ -4514,7 +4514,7 @@ angular.module('openshiftCommonUI').factory('GuidedTourService', function() {
});
;
'use strict'
;
angular
.
module
(
'openshiftCommon
Services
'
).
provider
(
'NotificationsService'
,
function
()
{
angular
.
module
(
'openshiftCommon
UI
'
).
provider
(
'NotificationsService'
,
function
()
{
this
.
dismissDelay
=
8000
;
this
.
autoDismissTypes
=
[
'info'
,
'success'
];
...
...
dist/origin-web-common.min.js
View file @
2095ef40
...
...
@@ -1974,7 +1974,7 @@ return {
startTour
:
startTour
,
cancelTour
:
cancelTour
};
}),
angular
.
module
(
"openshiftCommon
Services
"
).
provider
(
"NotificationsService"
,
function
()
{
}),
angular
.
module
(
"openshiftCommon
UI
"
).
provider
(
"NotificationsService"
,
function
()
{
this
.
dismissDelay
=
8
e3
,
this
.
autoDismissTypes
=
[
"info"
,
"success"
],
this
.
$get
=
function
()
{
var
notifications
=
[],
dismissDelay
=
this
.
dismissDelay
,
autoDismissTypes
=
this
.
autoDismissTypes
,
notificationHiddenKey
=
function
(
notificationID
,
namespace
)
{
return
namespace
?
"hide/notification/"
+
namespace
+
"/"
+
notificationID
:
"hide/notification/"
+
notificationID
;
...
...
src/ui-services/notificationsService.js
View file @
2095ef40
'use strict'
;
angular
.
module
(
'openshiftCommon
Services
'
).
provider
(
'NotificationsService'
,
function
()
{
angular
.
module
(
'openshiftCommon
UI
'
).
provider
(
'NotificationsService'
,
function
()
{
this
.
dismissDelay
=
8000
;
this
.
autoDismissTypes
=
[
'info'
,
'success'
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment