forked from google/blockly-samples
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
40 lines (39 loc) · 1.09 KB
/
index.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
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Blockly Demo: Backpack</title>
<script src="./node_modules/blockly/blockly_compressed.js"></script>
<script src="./node_modules/blockly/blocks_compressed.js"></script>
<script src="./node_modules/blockly/msg/en.js"></script>
<script src="./node_modules/@blockly/workspace-backpack/dist/index.js"></script>
<script src="./notification_backpack.js"></script>
<script src="./index.js"></script>
<style>
body {
background-color: #fff;
font-family: sans-serif;
}
h1 {
font-weight: normal;
font-size: 140%;
}
</style>
</head>
<body onload="init()">
<p>
This is a demo of two Blockly instances with a custom Backpack "sharing"
Backpack contents.
</p>
<table width="100%">
<tr>
<td>
<div id="primaryDiv" style="height: 480px; width: 600px"></div>
</td>
<td>
<div id="secondaryDiv" style="height: 480px; width: 600px"></div>
</td>
</tr>
</table>
</body>
</html>