Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 50780ff

Browse files
committed
Remove polyfills and add unpkg endpoint
1 parent 5d4610f commit 50780ff

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

examples/index.html

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,11 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8">
5-
<!-- For Promise & Reflect.construct -->
6-
<script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.34.2/es6-shim.min.js"></script>
7-
<!-- For CustomEvent -->
8-
<script src="https://unpkg.com/@webcomponents/[email protected]/webcomponents-platform.js"></script>
9-
<!-- For Template -->
10-
<script src="https://unpkg.com/@webcomponents/[email protected]/template.js"></script>
11-
<!-- Fetch -->
12-
<script src="https://cdnjs.cloudflare.com/ajax/libs/fetch/2.0.3/fetch.min.js"></script>
13-
<!-- HTML Import & Custom Elements -->
14-
<script src="https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/1.0.22/webcomponents-hi-ce.js"></script>
15-
<script src="../dist/index-umd.js"></script>
165
<title>include-fragment demo</title>
176
</head>
187
<body>
198
<include-fragment src="./pull.html">Loading</include-fragment>
9+
<!-- <script src="../dist/index-umd.js"></script> -->
10+
<script src="https://unpkg.com/@github/include-fragment-element@latest"></script>
2011
</body>
2112
</html>

0 commit comments

Comments
 (0)