Bug 347242: fix strict warnings in notification.xml, patch by Henrik Skupin <hskupin@gmail.com>, r=rob_strong

This commit is contained in:
gavin%gavinsharp.com 2006-08-04 14:35:37 +00:00
Родитель 3fcf425936
Коммит 695c8ef3a9
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -74,7 +74,7 @@
// priority. If two are equal, the existing one appears on top. // priority. If two are equal, the existing one appears on top.
var notifications = this.allNotifications; var notifications = this.allNotifications;
var insertPos = null; var insertPos = null;
for (n = notifications.length - 1; n >= 0; n--) { for (var n = notifications.length - 1; n >= 0; n--) {
if (notifications[n].priority < aPriority) if (notifications[n].priority < aPriority)
break; break;
insertPos = notifications[n]; insertPos = notifications[n];
@ -171,7 +171,7 @@
else { else {
change = -change; change = -change;
} }
opacitychange = change / height; var opacitychange = change / height;
var self = this; var self = this;
var slide = function slideInFn() var slide = function slideInFn()