mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
fix angularfire/angularfire-tests.ts
This commit is contained in:
parent
9962319769
commit
e2fd29975e
@ -25,7 +25,7 @@ myapp.controller("MyController", ["$scope", "$firebase",
|
||||
$scope.items.$set({ bar: "baz" });
|
||||
var keys = $scope.items.$getIndex();
|
||||
keys.forEach(function(key, i) {
|
||||
console.log(i, $scope.items[key]);
|
||||
console.log(i, (<any>$scope.items)[key]);
|
||||
});
|
||||
$scope.items.$on("loaded", function() {
|
||||
console.log("Initial data received!");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user