Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 5463a63

Browse files
leoruhlandJacob Wenger
authored andcommitted
Fix ServerValue.TIMESTAMP usage in docs (#742)
Update the docs with correct reference to ServerValue.TIMESTAMP
1 parent ce53cc2 commit 5463a63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guide/synchronized-arrays.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ app.controller("ChatCtrl", ["$scope", "chatMessages",
160160
$scope.messages.$add({
161161
from: $scope.user,
162162
content: $scope.message,
163-
timestamp: Firebase.ServerValue.TIMESTAMP
163+
timestamp: firebase.database.ServerValue.TIMESTAMP
164164
});
165165

166166
$scope.message = "";
@@ -172,7 +172,7 @@ app.controller("ChatCtrl", ["$scope", "chatMessages",
172172
$scope.messages.$add({
173173
from: "Uri",
174174
content: "Hello!",
175-
timestamp: Firebase.ServerValue.TIMESTAMP
175+
timestamp: firebase.database.ServerValue.TIMESTAMP
176176
});
177177
}
178178
});

0 commit comments

Comments
 (0)