Commit abc654d
authored
Support ref.push() without arguments
The example in the docs shows this use: https://firebase.google.com/docs/reference/js/firebase.database.Reference#push
Calling .push() should create a child and return a reference to it. Currently you're returning null, so it looks like a pretty small change to support this behaviour.1 parent 75631cb commit abc654d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
0 commit comments