Move _executeStaticEffects to _applyConfig timing.

This commit is contained in:
Kevin Schaaf
2015-05-22 15:04:30 -07:00
parent ffc361cf34
commit e6859b6b9e

View File

@@ -71,8 +71,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
// e.g. hand template content stored in notes to children as part of
// configure flow so templates have their content at ready time
this._configureAnnotationReferences();
// process static effects, e.g. computations that have only literal arguments
this._executeStaticEffects();
// get individual default values from property configs
var config = {};
// mixed-in behaviors
@@ -137,6 +135,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
// Override polymer-mini thunk
_afterClientsReady: function() {
// process static effects, e.g. computations that have only literal arguments
this._executeStaticEffects();
this._applyConfig(this._config);
this._flushHandlers();
},