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

Commit 0fd5e35

Browse files
committed
Merge pull request #180 from allansideas/fix-child
Replace this in $child with self
2 parents 6f3666b + 0118f8d commit 0fd5e35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

angularfire.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ AngularFire.prototype = {
166166
// Get an AngularFire wrapper for a named child.
167167
object.$child = function(key) {
168168
var af = new AngularFire(
169-
this._q, this._parse, this._timeout, this._fRef.ref().child(key)
169+
self._q, self._parse, self._timeout, self._fRef.ref().child(key)
170170
);
171171
return af.construct();
172172
};

0 commit comments

Comments
 (0)