зеркало из https://github.com/mozilla/pjs.git
Bug 347242: fix strict warnings in notification.xml, patch by Henrik Skupin <hskupin@gmail.com>, r=rob_strong
This commit is contained in:
Родитель
3fcf425936
Коммит
695c8ef3a9
|
@ -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()
|
||||||
|
@ -278,7 +278,7 @@
|
||||||
|
|
||||||
</implementation>
|
</implementation>
|
||||||
</binding>
|
</binding>
|
||||||
|
|
||||||
<binding id="notification">
|
<binding id="notification">
|
||||||
<content>
|
<content>
|
||||||
<xul:hbox class="notification-inner outset" flex="1" xbl:inherits="type">
|
<xul:hbox class="notification-inner outset" flex="1" xbl:inherits="type">
|
||||||
|
|
Загрузка…
Ссылка в новой задаче