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
Post a Comment