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

Commit 49705ee

Browse files
author
jacobawenger
committed
Removed unneeded $timeout dependency for $firebaseAuth
1 parent f8e58bd commit 49705ee

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/FirebaseAuth.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
// Define a service which provides user authentication and management.
77
angular.module('firebase').factory('$firebaseAuth', [
8-
'$q', '$timeout', function($q, $t) {
8+
'$q', function($q) {
99
// This factory returns an object containing the current authentication state of the client.
1010
// This service takes one argument:
1111
//
@@ -14,15 +14,14 @@
1414
// The returned object contains methods for authenticating clients, retrieving authentication
1515
// state, and managing users.
1616
return function(ref) {
17-
var auth = new FirebaseAuth($q, $t, ref);
17+
var auth = new FirebaseAuth($q, ref);
1818
return auth.construct();
1919
};
2020
}
2121
]);
2222

23-
FirebaseAuth = function($q, $t, ref) {
23+
FirebaseAuth = function($q, ref) {
2424
this._q = $q;
25-
this._timeout = $t;
2625

2726
if (typeof ref === 'string') {
2827
throw new Error('Please provide a Firebase reference instead of a URL when calling `new Firebase()`.');

0 commit comments

Comments
 (0)