Skip to content

Commit 7814bca

Browse files
committed
fix: format demo html
1 parent 42dd1bd commit 7814bca

6 files changed

+512
-196
lines changed

demo/fetch.string.html

+16-12
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,31 @@
1-
<html>
1+
<!DOCTYPE html>
2+
<html lang="en">
23
<head>
34
<title>Render | CoCreateJS</title>
4-
5+
56
<!-- 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>
7+
<link
8+
rel="icon"
9+
href="https://cdn.cocreate.app/favicon.ico"
10+
type="image/ico"
11+
sizes="16x16" />
12+
<link rel="manifest" href="/manifest.webmanifest" />
13+
</head>
914
<style>
10-
.template{display:none}
15+
.template {
16+
display: none;
17+
}
1118
</style>
1219
<body>
13-
1420
<cocreate-select name="current_org" template_id="abc1">
1521
<selected template="abc1" render-array="data">
1622
<cc-option class="template" value="{{document.current_org}}">
1723
<h3>{{document.current_org}}</h3>
1824
</cc-option>
1925
</selected>
2026
</cocreate-select>
21-
22-
23-
<pre>
27+
28+
<pre>
2429
<h1>Paste in your browser console</h1>
2530

2631
/** Example of array object from db -- render2 is an example of render_id**/
@@ -42,6 +47,5 @@ <h1>Paste in your browser console</h1>
4247
<!--<script src="../dist/CoCreate-render-key.js"></script>-->
4348
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
4449
<!-- <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script> -->
45-
4650
</body>
47-
</html>
51+
</html>

demo/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<title>Render | CoCreateJS</title>
55

demo/render.array.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<title>Render | CoCreateJS</title>
55

demo/render.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<title>Render | CoCreateJS</title>
55

demo/render.object.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<title>Render | CoCreateJS</title>
55

0 commit comments

Comments
 (0)