From 0afd80bbd9e2b9146c721f6f6fa7cd2d3f1576eb Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Tue, 17 Jun 2014 16:44:09 -0300 Subject: [PATCH] fix matis comments --- js/services/notifications.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/js/services/notifications.js b/js/services/notifications.js index 11804689d..c37aee391 100644 --- a/js/services/notifications.js +++ b/js/services/notifications.js @@ -1,7 +1,7 @@ 'use strict'; angular.module('notifications', []). - factory('$notification', ['$timeout',function($timeout, $rootScope){ + factory('$notification', ['$timeout',function($timeout){ var notifications = JSON.parse(localStorage.getItem('$notifications')) || [], queue = []; @@ -197,9 +197,7 @@ angular.module('notifications', []). clear: function(){ notifications = []; this.save(); - }, - - init: function() {} + } }; }]).