Open sgoldrei opened 3 weeks ago
How did I mess this up ?
var viewer = OpenSeadragon({ id: 'map' , prefixUrl: 'images/' , tileSources: 'foo.dzi' }); var anno = OpenSeadragon.Annotorious(viewer); var firebaseConfig = { apiKey: "foobar", authDomain: "foobar.firebaseapp.com", databaseURL: "https://foobar-default-rtdb.firebaseio.com", projectId: "foobar", storageBucket: "foobar.appspot.com", messagingSenderId: "foobar", appId: "1:0000000:web:000000" }; var settings = { annotationTarget: viewer.src, // mandatory collectionName: 'annotations' // optional (default = 'annotations') } recogito.FirebaseStorage(anno, firebaseConfig, settings);
error is: ReferenceError: Can't find variable: firebase
error is on line 29: firebase.initializeApp(e);
firebase.initializeApp(e);
Getting the same thing, think they initialize differently. You figure it out?
I'm sick of watching firebase videos since their versioning makes no sense and re-writing this in supabase atm
How did I mess this up ?
error is: ReferenceError: Can't find variable: firebase
error is on line 29:
firebase.initializeApp(e);