Skip to content

Commit

Permalink
Update typo in code sample in reference.md (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
RaananW authored and Jacob Wenger committed Jun 23, 2016
1 parent d6d5c95 commit 91b434c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ And create a new instance:
```js
// create a User object from our Factory
app.factory("User", function(UserFactory) {
var ref = firebase.database.ref();
var ref = firebase.database().ref();
var usersRef = ref.child("users");
return function(userid) {
return new UserFactory(ref.child(userid));
Expand Down

0 comments on commit 91b434c

Please sign in to comment.