fix matis comments
This commit is contained in:
parent
718ae69576
commit
0afd80bbd9
1 changed files with 2 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('notifications', []).
|
angular.module('notifications', []).
|
||||||
factory('$notification', ['$timeout',function($timeout, $rootScope){
|
factory('$notification', ['$timeout',function($timeout){
|
||||||
|
|
||||||
var notifications = JSON.parse(localStorage.getItem('$notifications')) || [],
|
var notifications = JSON.parse(localStorage.getItem('$notifications')) || [],
|
||||||
queue = [];
|
queue = [];
|
||||||
|
|
@ -197,9 +197,7 @@ angular.module('notifications', []).
|
||||||
clear: function(){
|
clear: function(){
|
||||||
notifications = [];
|
notifications = [];
|
||||||
this.save();
|
this.save();
|
||||||
},
|
}
|
||||||
|
|
||||||
init: function() {}
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}]).
|
}]).
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue