mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Fix closure issues
This commit is contained in:
@@ -147,6 +147,9 @@ Polymer.legacyWarnings;
|
||||
/** @type {boolean} */
|
||||
Polymer.legacyNotifyOrder;
|
||||
|
||||
/** @type {boolean} */
|
||||
Polymer.orderedComputed;
|
||||
|
||||
// nb. This is explicitly 'var', as Closure Compiler checks that this is the case.
|
||||
/**
|
||||
* @constructor
|
||||
|
||||
@@ -553,9 +553,10 @@ function propertyIsDirty(inst, trigger, changedProps, hasPaths) {
|
||||
}
|
||||
}
|
||||
});
|
||||
return false;
|
||||
} else {
|
||||
return changedProps && trigger.rootProperty in changedProps ||
|
||||
inst.__dataPending && trigger.rootProperty in inst.__dataPending;
|
||||
return Boolean(changedProps && trigger.rootProperty in changedProps ||
|
||||
inst.__dataPending && trigger.rootProperty in inst.__dataPending);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user