Bug 1128838: Add extra layer of parens around assignment in loop condition, in ViewHelpers.jsm. r=vporof

This commit is contained in:
Daniel Holbert 2015-02-03 08:16:37 -08:00
parent eda7ad2285
commit 09771b2a17

View File

@ -800,7 +800,7 @@ this.WidgetMethods = {
*/
removeForPredicate: function(aPredicate) {
let item;
while (item = this.getItemForPredicate(aPredicate)) {
while ((item = this.getItemForPredicate(aPredicate))) {
this.remove(item);
}
},