Skip to content

Commit

Permalink
Get global reference for firebase
Browse files Browse the repository at this point in the history
  • Loading branch information
ernysans committed Sep 6, 2018
1 parent d6fdc04 commit 9481c98
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion auth-mixin.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// import * as firebase from 'firebase';
// import 'firebase/dist/index.esm.js';
// import * as firebase from 'firebase/firebase.js';
window.Fabric = window.Fabric || {};
const firebase = window.firebase;

/**
* `Fabric.AuthMixin`
Expand Down Expand Up @@ -1454,7 +1458,7 @@ Fabric.AuthMixin = (superClass) => class extends superClass {
this._recaptchaVerifier();
console.warn('expired recatpcha');
},
}
},
);
}
};
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"resolutions": {
"inherits": "2.0.3",
"samsam": "1.1.3",
"supports-color": "3.1.2",
"type-detect": "1.0.0",
"@webcomponents/webcomponentsjs": "2.0.0-beta.2"
},
"main": "skeleton-auth.js",
"dependencies": {
"@firebase/webchannel-wrapper": "^0.2.8",
"@polymer/gen-typescript-declarations": "^1.2.2",
"@polymer/iron-flex-layout": "^3.0.0-pre.18",
"@polymer/iron-form": "^3.0.0-pre.18",
Expand All @@ -32,7 +32,7 @@
"web-animations-js": "^2.3.1"
},
"devDependencies": {
"@fabricelements/firebase-config": "^0.0.1",
"@fabricelements/firebase-config": "github:FabricElements/firebase-config",
"@polymer/iron-demo-helpers": "^3.0.0-pre.18",
"@polymer/iron-image": "^3.0.0-pre.18",
"@polymer/iron-test-helpers": "^3.0.0-pre.18",
Expand Down

0 comments on commit 9481c98

Please sign in to comment.