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

Commit 894b480

Browse files
committed
Account for the 4th argument of angularFire()
1 parent 4bc8b25 commit 894b480

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

angularFire.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ angular.module('firebase', []).value('Firebase', Firebase);
66
// synchronized with a Firebase location both ways.
77
// TODO: Optimize to use child events instead of whole 'value'.
88
angular.module('firebase').factory('angularFire', function($q) {
9-
return function(url, scope, name) {
9+
return function(url, scope, name, ret) {
1010
var af = new AngularFire($q, url);
11-
return af.associate(scope, name);
11+
return af.associate(scope, name, ret);
1212
};
1313
});
1414

0 commit comments

Comments
 (0)