This is a test demo for Edge. You may need a static file server to view the demo page.
Last active
March 2, 2019 04:19
-
-
Save magic-akari/5fe16e41e153c2c41575c88ee1bea778 to your computer and use it in GitHub Desktop.
EDGE IMPORT TEST
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const a1 = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const a2 = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const a3 = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const a4 = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { a1 } from "./a1.js"; | |
import { a2 } from "./a2.js"; | |
import { a3 } from "./a3.js"; | |
import { a4 } from "./a4.js"; | |
export const b1 = a1 + a2 + a3 + a4; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { a1 } from "./a1.js"; | |
import { a2 } from "./a2.js"; | |
import { a3 } from "./a3.js"; | |
import { a4 } from "./a4.js"; | |
export const b2 = (a1 + a2) * (a3 + a4); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { b1 } from "./b1.js"; | |
import { b2 } from "./b2.js"; | |
export const b3 = b1 * b2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { a1 } from "./a1.js"; | |
import { a2 } from "./a2.js"; | |
import { a3 } from "./a3.js"; | |
import { a4 } from "./a4.js"; | |
import { b1 } from "./b1.js"; | |
import { b2 } from "./b2.js"; | |
export const b4 = (a1 + a2) * (a3 + a4) * (b1 + b2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { a1 } from "./a1.js"; | |
import { a2 } from "./a2.js"; | |
import { a3 } from "./a3.js"; | |
import { a4 } from "./a4.js"; | |
import { b1 } from "./b1.js"; | |
import { b2 } from "./b2.js"; | |
import { b3 } from "./b3.js"; | |
import { b4 } from "./b4.js"; | |
export const c1 = (a1 + b1) * (a2 + b2) * (a3 + b3) * (a4 + b4); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { c1 } from "./c1.js"; | |
export const c2 = c1 * c1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { c2 } from "./c2.js"; | |
export const c3 = c2 * c2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { c2 } from "./c2.js"; | |
import { c3 } from "./c3.js"; | |
export const c4 = c2 * c3; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | |
<title>EDGE IMPORT TEST</title> | |
<script src="./a1.js" type="module"></script> | |
<script src="./a2.js" type="module"></script> | |
<script src="./a3.js" type="module"></script> | |
<script src="./a4.js" type="module"></script> | |
<script src="./b1.js" type="module"></script> | |
<script src="./b2.js" type="module"></script> | |
<script src="./b3.js" type="module"></script> | |
<script src="./b4.js" type="module"></script> | |
<script src="./c1.js" type="module"></script> | |
<script src="./c2.js" type="module"></script> | |
<script src="./c3.js" type="module"></script> | |
<script src="./c4.js" type="module"></script> | |
<script src="./index.js" type="module"></script> | |
<script src="./normal.js"></script> | |
</head> | |
<body> | |
<script> | |
console.log("inline script"); | |
</script> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { a1 } from "./a1.js"; | |
import { a2 } from "./a2.js"; | |
import { a3 } from "./a3.js"; | |
import { a4 } from "./a4.js"; | |
import { b1 } from "./b1.js"; | |
import { b2 } from "./b2.js"; | |
import { b3 } from "./b3.js"; | |
import { b4 } from "./b4.js"; | |
import { c1 } from "./c1.js"; | |
import { c2 } from "./c2.js"; | |
import { c3 } from "./c3.js"; | |
import { c4 } from "./c4.js"; | |
console.log("module script"); | |
console.log({ a1, a2, a3, a4, b1, b2, b3, b4, c1, c2, c3, c4 }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log("normal script"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment