Added some semicolons
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
/**
|
/**
|
||||||
* Created by akhenry on 10/7/15.
|
* Created by akhenry on 10/7/15.
|
||||||
*/
|
*/
|
||||||
|
/*global define*/
|
||||||
define(function(){
|
define(function(){
|
||||||
return {
|
return {
|
||||||
SUCCESS: 0,
|
SUCCESS: 0,
|
||||||
ERROR: 1
|
ERROR: 1
|
||||||
}
|
};
|
||||||
})
|
});
|
||||||
@@ -103,7 +103,7 @@ define(
|
|||||||
*/
|
*/
|
||||||
NotificationService.prototype.getActiveNotification = function (){
|
NotificationService.prototype.getActiveNotification = function (){
|
||||||
return this.active.notification;
|
return this.active.notification;
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A convenience method for success notifications. Notifications
|
* A convenience method for success notifications. Notifications
|
||||||
@@ -114,7 +114,7 @@ define(
|
|||||||
NotificationService.prototype.success = function (notification) {
|
NotificationService.prototype.success = function (notification) {
|
||||||
notification.autoDismiss = notification.autoDismiss || true;
|
notification.autoDismiss = notification.autoDismiss || true;
|
||||||
NotificationService.prototype.notify(notification);
|
NotificationService.prototype.notify(notification);
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notifies the user of an event. If there is a banner notification
|
* Notifies the user of an event. If there is a banner notification
|
||||||
@@ -239,7 +239,7 @@ define(
|
|||||||
this.notifications.splice(index, 1);
|
this.notifications.splice(index, 1);
|
||||||
this.setActiveNotification(this.selectNextNotification());
|
this.setActiveNotification(this.selectNextNotification());
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Depending on the severity of the notification will selectively
|
* Depending on the severity of the notification will selectively
|
||||||
|
|||||||
Reference in New Issue
Block a user