Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Commit 01c865a

Browse files
style(database): remove trailing whitespace
1 parent a92b644 commit 01c865a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/database.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ export class AngularFireOfflineDatabase {
4343
cacheIndex = 0;
4444
/**
4545
* A temporary collection of offline writes.
46-
*
46+
*
4747
* After a refresh, the writes are collected into this queue and emulated locally. When a
4848
* connection is available the actual writes are made to Firebase via {@link updateEmulateList}.
4949
*/
5050
checkEmulateQue = {};
5151
/**
5252
* Contains info about offline write processing state
53-
*
53+
*
5454
* - `current` is true if processing offline writes via {@link processWrites}
5555
* - `objectCache` and `listCache` stores any new writes that happen while processing offline writes.
5656
* After the offline writes have processed, the writes in objectCache and listCache are applied.
@@ -211,7 +211,7 @@ export class AngularFireOfflineDatabase {
211211
});
212212
}
213213
/**
214-
* Adds non-root-level references to the {@link checkEmulateQue}
214+
* Adds non-root-level references to the {@link checkEmulateQue}
215215
* @param cacheItem an item from the local write cache
216216
*/
217217
private checkEmulateList(cacheItem: CacheItem) { // add matches to que
@@ -220,7 +220,7 @@ export class AngularFireOfflineDatabase {
220220
refItems.pop();
221221
const potentialList: string = refItems.join('/');
222222
if (potentialList !== undefined) {
223-
// Add
223+
// Add
224224
if (!(potentialList in this.checkEmulateQue)) {
225225
this.checkEmulateQue[potentialList] = [];
226226
}
@@ -279,7 +279,7 @@ export class AngularFireOfflineDatabase {
279279
}
280280
/**
281281
* Processes cache items that require emulation
282-
*
282+
*
283283
* - only run at startup upon the complete of the {@link processWrites} recursive function
284284
*/
285285
private updateEmulateList() { // process emulate que
@@ -302,7 +302,7 @@ export function isNil(obj: any): boolean {
302302
}
303303
/**
304304
* The AngularFire2 unwrap function.
305-
*
305+
*
306306
* Adds the properies of `$key`, `$value`, `$exists` as required by AngularFire2
307307
*/
308308
export function unwrap(key: string, value: any, exists) {

0 commit comments

Comments
 (0)