mirror of
https://github.com/nasa/openmct.git
synced 2025-05-07 19:18:36 +00:00
Added some more semicolons
This commit is contained in:
parent
e1e5919f68
commit
12a94f828a
@ -159,7 +159,8 @@ define(
|
|||||||
NotificationService.prototype.setActiveNotification =
|
NotificationService.prototype.setActiveNotification =
|
||||||
function (notification) {
|
function (notification) {
|
||||||
|
|
||||||
var that = this;
|
var that = this,
|
||||||
|
timeout;
|
||||||
this.active.notification = notification;
|
this.active.notification = notification;
|
||||||
/*
|
/*
|
||||||
If autoDismiss has been specified, setup a timeout to
|
If autoDismiss has been specified, setup a timeout to
|
||||||
@ -170,7 +171,7 @@ define(
|
|||||||
*/
|
*/
|
||||||
if (notification && (notification.autoDismiss
|
if (notification && (notification.autoDismiss
|
||||||
|| this.selectNextNotification())) {
|
|| this.selectNextNotification())) {
|
||||||
var timeout = isNaN(notification.autoDismiss) ?
|
timeout = isNaN(notification.autoDismiss) ?
|
||||||
this.DEFAULT_AUTO_DISMISS :
|
this.DEFAULT_AUTO_DISMISS :
|
||||||
notification.autoDismiss;
|
notification.autoDismiss;
|
||||||
|
|
||||||
@ -188,12 +189,13 @@ define(
|
|||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
NotificationService.prototype.selectNextNotification = function () {
|
NotificationService.prototype.selectNextNotification = function () {
|
||||||
|
var notification;
|
||||||
/*
|
/*
|
||||||
Loop through the notifications queue and find the first one that
|
Loop through the notifications queue and find the first one that
|
||||||
has not already been minimized (manually or otherwise).
|
has not already been minimized (manually or otherwise).
|
||||||
*/
|
*/
|
||||||
for (var i=0; i< this.notifications.length; i++) {
|
for (var i=0; i< this.notifications.length; i++) {
|
||||||
var notification = this.notifications[i];
|
notification = this.notifications[i];
|
||||||
|
|
||||||
if (!notification.minimized
|
if (!notification.minimized
|
||||||
&& notification!= this.activeNotification) {
|
&& notification!= this.activeNotification) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user