function FirebaseAppImpl(options, name, firebase_) { this.firebase_ = firebase_; this.isDeleted_ = false; this.services_ = {}; this.name_ = name; this.options_ = util_2.deepCopy(options); this.INTERNAL = { getUid: function () { return null; }, getToken: function () { return Promise.resolve(null); }, addAuthTokenListener: function (callback) { tokenListeners.push(callback); // Make sure callback is called, asynchronously, in the absence of the auth module setTimeout(function () { return callback(null); }, 0); }, removeAuthTokenListener: function (callback) { tokenListeners = tokenListeners.filter(function (listener) { return listener !== callback; }); } }; }
StatsCollection.prototype.get = function () { return util_1.deepCopy(this.counters_); };