Skip to content

Commit 42dd361

Browse files
committed
Fix closure issues
1 parent 810a70f commit 42dd361

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

externs/polymer-externs.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ Polymer.legacyWarnings;
147147
/** @type {boolean} */
148148
Polymer.legacyNotifyOrder;
149149

150+
/** @type {boolean} */
151+
Polymer.orderedComputed;
152+
150153
// nb. This is explicitly 'var', as Closure Compiler checks that this is the case.
151154
/**
152155
* @constructor

lib/mixins/property-effects.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,9 +553,10 @@ function propertyIsDirty(inst, trigger, changedProps, hasPaths) {
553553
}
554554
}
555555
});
556+
return false;
556557
} else {
557-
return changedProps && trigger.rootProperty in changedProps ||
558-
inst.__dataPending && trigger.rootProperty in inst.__dataPending;
558+
return Boolean(changedProps && trigger.rootProperty in changedProps ||
559+
inst.__dataPending && trigger.rootProperty in inst.__dataPending);
559560
}
560561
}
561562

0 commit comments

Comments
 (0)