Skip to content

Remove Closure build #2646

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.