-
Notifications
You must be signed in to change notification settings - Fork 0
/
example-metamask.html
42 lines (34 loc) · 1.41 KB
/
example-metamask.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html>
<body>
<script src='/node_modules/includejs/lib/include.js'></script>
<script>
include
.cfg('commonjs', true)
.cfg('amd', true)
.cfg('extentionDefault', {
js: 'ts'
})
.cfg('base', '/')
.cfg('map', {
'a-di': '/node_modules/a-di/lib/di.js',
'alot': '/node_modules/alot/lib/alot.js',
'memd': '/node_modules/memd/lib/memd.js',
'atma-utils': '/node_modules/atma-utils/lib/utils.js',
'class-json': '/node_modules/class-json/lib/class-json.js',
'axios': '/node_modules/axios/dist/axios.min.js',
'everlog': '/node_modules/everlog/lib/everlog-browser.js',
'atma-io': '/node_modules/atma-io/lib/io-browser.js',
'appcfg': '/node_modules/appcfg/lib/appcfg-browser.js',
"ethers": "/node_modules/ethers/dist/ethers.umd.js",
"web3": "/node_modules/web3/dist/web3.min.js",
})
.routes({
"@dequanto": "/dequanto/src/{0}",
"@0xweb": "/0xweb/{0}",
});
</script>
Open the DevTools to see the output
<script src='/www/main.ts'></script>
</body>
</html>