mirror of
https://github.com/nasa/openmct.git
synced 2025-05-31 06:31:04 +00:00
Fixed jslint errors
This commit is contained in:
parent
789b640b9b
commit
896dd8d2c7
@ -158,7 +158,7 @@ define(
|
|||||||
service.setActiveNotification(service.selectNextNotification());
|
service.setActiveNotification(service.selectNextNotification());
|
||||||
}, service.MINIMIZE_TIMEOUT);
|
}, service.MINIMIZE_TIMEOUT);
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Completely removes a notification. This will dismiss it from the
|
* Completely removes a notification. This will dismiss it from the
|
||||||
@ -189,7 +189,7 @@ define(
|
|||||||
service.notifications.splice(index, 1);
|
service.notifications.splice(index, 1);
|
||||||
}
|
}
|
||||||
service.setActiveNotification(service.selectNextNotification());
|
service.setActiveNotification(service.selectNextNotification());
|
||||||
};
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Depending on the severity of the notification will selectively
|
* Depending on the severity of the notification will selectively
|
||||||
@ -201,7 +201,7 @@ define(
|
|||||||
//kind of messages should or should not be in the minimized
|
//kind of messages should or should not be in the minimized
|
||||||
//notifications list
|
//notifications list
|
||||||
notification.minimize();
|
notification.minimize();
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the notification that is currently visible in the banner area
|
* Returns the notification that is currently visible in the banner area
|
||||||
@ -249,15 +249,15 @@ define(
|
|||||||
notification = {
|
notification = {
|
||||||
model: notificationModel,
|
model: notificationModel,
|
||||||
minimize: function() {
|
minimize: function() {
|
||||||
minimize(self, notification)
|
minimize(self, notification);
|
||||||
},
|
},
|
||||||
dismiss: function(){
|
dismiss: function(){
|
||||||
dismiss(self, notification)
|
dismiss(self, notification);
|
||||||
},
|
},
|
||||||
dismissOrMinimize: function(){
|
dismissOrMinimize: function(){
|
||||||
dismissOrMinimize(notification)
|
dismissOrMinimize(notification);
|
||||||
}
|
}
|
||||||
},
|
};
|
||||||
|
|
||||||
notificationModel.severity = notificationModel.severity || "info";
|
notificationModel.severity = notificationModel.severity || "info";
|
||||||
if (notificationModel.autoDismiss === true){
|
if (notificationModel.autoDismiss === true){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user