You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_addComplexObserverEffects: function(observers){if(observers){// Error: Uncaught TypeError: observers.forEach is not a functionobservers.forEach(function(observer){this._addComplexObserverEffect(observer);},this);}}
In v0.8.0-rc.5, an API change was made such that complex observers (for multiple dependencies or paths) are specified in an array of strings that specify a method signature, using the same format as computed properties.
Unfortunately, the website documentation for 0.8 is lagging the code by a week or two, although we try to keep the primer I linked to in lock-step with the code since it's in the same repo.
I was trying to use the observer object to observe for changes to properties and apparently it only expects arrays.
Reference: https://www.polymer-project.org/0.8/docs/devguide/properties.html#observing-path-changes
Stack trace:
The text was updated successfully, but these errors were encountered: