-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
59 lines (55 loc) · 2 KB
/
popup.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE html>
<html>
<head>
<style>
body {
width: 200px;
height: 50px;
text-align: center;
padding: 10px;
}
button {
cursor: pointer;
font-size: 16px;
}
</style>
</head>
<body>
<!--<script src="src/Prompt.js"></script>-->
<iframe src="sandbox.html" id="sandbox" style="display: none"></iframe>
<!-- <button id="analyzeBtn">Test ChatGPT API</button> -->
<button id="autoScript">Run src/main.ts</button>
<!-- <button id="callFunction">Call Cloud Function</button> -->
<pre id="result"></pre>
<!--<script src="cocktails.js"></script>-->
<!--<script src="ama.js"></script>-->
<!--<script src="autoscript.js"></script>-->
<script src="popup.js"></script>
<!--<script src="node_modules/systemjs/dist/system.js"></script>-->
<!--<script src="./dist/bundle.js"></script>-->
<!--<script>
System.import('lib/flowchat.workspace.js')
.then((module) => {
// Do something with your module here
})
.catch((err) => {
console.error(err);
});
</script>
-->
<script type="module" src="pkg/disable_exports.js"></script>
<!--<script type="module" src="lib/GPTContext.js"></script>
<script type="module" src="lib/GPTSearch.js"></script>
<script type="module" src="lib/GPTSandbox.js"></script>
<script type="module" src="lib/GPTAPI.js"></script>
<script type="module" src="lib/GPTMermaidExperimental.js"></script>-->
<script type="module" src="lib/bundle.js"></script>
<!--<script type="module" src="lib/flowchat.workspace.js"></script>-->
<!--<div id="tsSandbox"></div>
<script src="src/sandbox/ts-compiler.js"></script>
<script src="src/sandbox/main.js"></script>-->
<!--<script src="mock.js"></script>-->
<!--<script src="flowchat.plugins.js"></script>-->
<!--<script src="flowchat.js"></script>-->
</body>
</html>