Skip to content

Commit

Permalink
Fix bug in API example
Browse files Browse the repository at this point in the history
  • Loading branch information
dmurvihill committed Nov 22, 2019
1 parent e3633c0 commit 77cf75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function onValue (_snapshot_) {
}
ref.on('value', onValue);
ref.set({
foo: 'bar';
foo: 'bar',
});
ref.flush();
console.assert(ref.getData().foo === 'bar', 'data has foo');
Expand Down

0 comments on commit 77cf75c

Please sign in to comment.