Skip to content

Commit

Permalink
Remove Closure build (#2646)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidt-sebastian authored Feb 28, 2020
1 parent 3679e87 commit 6fdc6e1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 58 deletions.
15 changes: 0 additions & 15 deletions packages/firestore/src/platform/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,3 @@ export function configureForFirebase(firebase: FirebaseNamespace): void {
).setServiceProps(shallowCopy(firestoreNamespace))
);
}

/**
* Exports the Firestore namespace into the provided `exportObject` object under
* the key 'firestore'. This is used for wrapped binary that exposes Firestore
* as a goog module.
*/
export function configureForStandalone(exportObject: {
[key: string]: {};
}): void {
const copiedNamespace = shallowCopy(firestoreNamespace);
// Unlike the use with Firebase, the standalone allows the use of the
// constructor, so export it's internal class
copiedNamespace['Firestore'] = Firestore;
exportObject['firestore'] = copiedNamespace;
}
43 changes: 0 additions & 43 deletions packages/firestore/src/platform/config/goog_module_config.ts

This file was deleted.

0 comments on commit 6fdc6e1

Please sign in to comment.