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
I'm trying to DRY up the Q&A Firebase demo app using globals to configure the firebase endpoint.
Not sure how to use the namespace and set a single global key value?
Perhaps you can help me to find a nice way to do this for a win/win ;)
<polymer-elementname="firebase-model" attributes="endpoint path" extends="firebase-element"><script>(function(){'use strict';Polymer({observe: function(){
endpoint: 'updateLocation',path: 'updateLocation'}// we can only set the list atribute when ref has changed (ie. not null)updateLocation: function(){this.location=[this.endpoint,this.path].join('/');}});})();</script></polymer-element>
The text was updated successfully, but these errors were encountered:
I'm trying to DRY up the Q&A Firebase demo app using globals to configure the firebase endpoint.
Not sure how to use the namespace and set a single global key value?
PS: Components page referenced in README is 404.
I would like to create a firebase-model element sth like this
Perhaps you can help me to find a nice way to do this for a win/win ;)
The text was updated successfully, but these errors were encountered: