firebase - Push command creating error: Cannot read property 'replace' of undefined -


i've seen variations of question in context of angularjs kendogrid backbonejs answers related frameworks , none of them address directly @ straight-up firebase level. since i'm not using of those, answers not helpful me.

i create following ref:

var loginref = new firebase('https://f30s.firebaseio.com/pablo/pages/login'); 

i try following push:

loginref.child('clientevents').push( { create_account : true } ); 

the push writes firebase in proper directory structure, console produces error:

uncaught typeerror: cannot read property 'replace' of undefined 

what doing wrong?


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -