Fixed jslint errors

This commit is contained in:
Henry 2015-10-22 16:41:09 -07:00
parent 83276d70d3
commit e3ef68bc6f
3 changed files with 4 additions and 6 deletions

View File

@ -130,15 +130,13 @@ define(
" dialog. This dialog can be used to draw the user's" +
" attention to an event.",
severity: "info",
options: [
{
primaryOption: {
label: "OK",
callback: function () {
$log.debug("OK Pressed");
dialogService.dismiss();
}
},
]
}
};
if (!dialogService.showBlockingMessage(model)) {

View File

@ -55,7 +55,7 @@ define(
notificationService.dismissOrMinimize(notification);
};
$scope.maximize = function(notification) {
if (notification.severity != "info"){
if (notification.severity !== "info"){
notification.cancel = function(){
dialogService.dismiss();
};

View File

@ -137,7 +137,7 @@ define(
"alert": 2,
"error": 3
};
notification.severity = notification.severity || "info"
notification.severity = notification.severity || "info";
if (notification.autoDismiss === true){
notification.autoDismiss = this.DEFAULT_AUTO_DISMISS;
}