Added some more semicolons

This commit is contained in:
Henry 2015-10-08 13:14:30 -07:00
parent e1e5919f68
commit 12a94f828a

View File

@ -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) {