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