Skip to content

Commit 6356d58

Browse files
committed
simplify the HTML example
1 parent 095dfd9 commit 6356d58

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

example/amd-example.html

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<script src="../dist.es5/msgpack.min.js"></script>
5-
<script>
6-
console.log(MessagePack);
7-
</script>
85
<style>
96
main {
107
width: 80%;
@@ -15,9 +12,7 @@
1512
<body>
1613
<main>
1714
<h1>AMD for @msgpack/msgpack</h1>
18-
<pre><code>&lt;script src="https://unpkg.com/@msgpack/msgpack"&gt;&lt;/script&gt;
19-
</code></pre>
20-
15+
<pre><code>&lt;script src="https://unpkg.com/@msgpack/msgpack"&gt;&lt;/script&gt;</code></pre>
2116
<script src="./amd-example.js"></script>
2217
</main>
2318
</body>

0 commit comments

Comments
 (0)