Skip to content

Commit 7dbad39

Browse files
committed
format html
1 parent 7f7eabb commit 7dbad39

File tree

2 files changed

+375
-135
lines changed

2 files changed

+375
-135
lines changed

demo/index.html

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<title>Calculations | CoCreateJS</title>
5-
<!-- CoCreate Favicon -->
6-
<link rel="icon" href="https://cdn.cocreate.app/favicon.ico" type="image/ico" sizes="16x16">
7-
<link rel="manifest" href="/manifest.webmanifest">
8-
</head>
9-
<body>
3+
<head>
4+
<title>Calculations | CoCreateJS</title>
5+
<!-- CoCreate Favicon -->
6+
<link
7+
rel="icon"
8+
href="https://cdn.cocreate.app/favicon.ico"
9+
type="image/ico"
10+
sizes="16x16" />
11+
<link rel="manifest" href="/manifest.webmanifest" />
12+
</head>
13+
<body>
14+
<input class="we" name="total" id="id1" value="12" />
15+
<input class="we" name="total" id="id2" value="13" />
16+
<!--<input id="id3" value="14"><br><br><br>-->
1017

11-
<input class="we" name="total" id="id1" value="12">
12-
<input class="we" name="total" id="id2" value="13">
13-
<!--<input id="id3" value="14"><br><br><br>-->
14-
15-
<input id="te" calculate="{#id1} + {#id2}">
16-
<!--<input calculate="1 + 3 * 5">-->
17-
<input calculate="{[name='total']} + 1">
18-
<h1 calculate="{[name='total']} + {#te}">sum</h1>
19-
20-
<!--<h1 calculate="sum[.we]">sum</h1>-->
21-
<!--<h1 calculate="1 + {#id1} * 5 + {#id3}/{#id2} + {#id2}"></h1>-->
22-
<!--<h1 calculate="(({#id1} + {#id2})) * {#id3}"></h1>-->
23-
24-
<!--<script src="../dist/CoCreate-calculation.js"></script>-->
25-
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js" ></script>
26-
18+
<input id="te" calculate="{#id1} + {#id2}" />
19+
<!--<input calculate="1 + 3 * 5">-->
20+
<input calculate="{[name='total']} + 1" />
21+
<h1 calculate="{[name='total']} + {#te}">sum</h1>
2722

28-
</body>
29-
</html>
23+
<!--<h1 calculate="sum[.we]">sum</h1>-->
24+
<!--<h1 calculate="1 + {#id1} * 5 + {#id3}/{#id2} + {#id2}"></h1>-->
25+
<!--<h1 calculate="(({#id1} + {#id2})) * {#id3}"></h1>-->
26+
27+
<!--<script src="../dist/CoCreate-calculation.js"></script>-->
28+
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
29+
</body>
30+
</html>

0 commit comments

Comments
 (0)