Skip to content

Instantly share code, notes, and snippets.

@venkatd
Created February 16, 2014 18:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save venkatd/9038384 to your computer and use it in GitHub Desktop.
Save venkatd/9038384 to your computer and use it in GitHub Desktop.
ref.on("child_removed", function(snapshot) {
if (!resolved) {
return;
}
var record = store.getById(type, snapshot.name());
if (record !== null) {
store.deleteRecord(record);
}
}, _handleError);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment