Skip to content

Commit

Permalink
update import command
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Jun 10, 2022
1 parent 4ff3305 commit 468e1ae
Show file tree
Hide file tree
Showing 6 changed files with 351 additions and 211 deletions.
2 changes: 2 additions & 0 deletions __tests__/__fixtures__/imports.gs
@@ -1,2 +1,4 @@
import $
import firebase
import firebase from "https://www.gstatic.com/firebasejs/7.17.1/firebase-app.js"
import "https://www.gstatic.com/firebasejs/7.17.1/firebase-app.js"
3 changes: 3 additions & 0 deletions __tests__/__snapshots__/gaiman.spec.js.snap
Expand Up @@ -273,6 +273,9 @@ exports[`global should parse imports 1`] = `
try {
const $_$ = $;
const $_firebase = firebase;
await gaiman.load(\`https://www.gstatic.com/firebasejs/7.17.1/firebase-app.js\`)
const $_firebase = firebase;
await gaiman.load(\`https://www.gstatic.com/firebasejs/7.17.1/firebase-app.js\`);
} catch (e) {
gaiman.error(e);
}
Expand Down

0 comments on commit 468e1ae

Please sign in to comment.