Moved some more vars

This commit is contained in:
Henry 2015-10-08 13:17:12 -07:00
parent fc8630dbc6
commit df590107cb
2 changed files with 11 additions and 10 deletions

View File

@ -199,7 +199,7 @@ define(
notification = this.notifications[i];
if (!notification.minimized
&& notification!= this.activeNotification) {
&& notification!== this.activeNotification) {
return notification;
}

View File

@ -168,15 +168,16 @@ define(
});
it("auto-minimizes errors when a number of them arrive in" +
" short succession ", function() {
var activeNotification;
var error2 = {
title: "Second Mock Error Notification",
severity: MessageSeverity.ERROR
};
var error3 = {
title: "Third Mock Error Notification",
severity: MessageSeverity.ERROR
};
var activeNotification,
error2 = {
title: "Second Mock Error Notification",
severity: MessageSeverity.ERROR
};
error3 = {
title: "Third Mock Error Notification",
severity: MessageSeverity.ERROR
};
//First pre-load with a success message
notificationService.notify(errorModel);
//Then notify of a third error