Skip to content

Commit 23c8edf

Browse files
authored
Update README.md
Fix cancellCallback comment. Add a link to Firebase reference
1 parent 1bd45f1 commit 23c8edf

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

README.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,9 @@ var vm = new Vue({
7272

7373
**About the cancelCallback**:
7474

75-
> We can pass an optional cancel callback to our event subscription that will
76-
> be called if the read is ever cancelled. A read would be cancelled if the app
77-
> client doesn't have permission to read from that database reference. This
78-
> callback will be passed an error object indicating why the failure occurred.
75+
> An optional callback that will be notified if your event subscription is ever canceled because your client does not have permission to read this data (or it had permission but has now lost it). This callback will be passed an `Error` object indicating why the failure occurred.
7976
80-
[From Firebase docs](https://firebase.google.com/docs/database/admin/retrieve-data)
77+
[From Firebase API Reference](https://firebase.google.com/docs/reference/js/firebase.database.Query#on)
8178

8279
``` html
8380
<div id="demo">

0 commit comments

Comments
 (0)