Skip to content

Commit f86b900

Browse files
committed
Convert to TypeScript
1 parent 5764a5c commit f86b900

13 files changed

+1453
-4409
lines changed

.babelrc

Lines changed: 0 additions & 10 deletions
This file was deleted.

.eslintrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": [
3-
"plugin:github/es6",
4-
"plugin:github/browser"
3+
"plugin:github/browser",
4+
"plugin:github/typescript"
55
],
66
"overrides": [
77
{

examples/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</head>
77
<body>
88
<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>
9+
<!-- <script type="module" src="../dist/index.js"></script> -->
10+
<script type="module" src="https://unpkg.com/@github/include-fragment-element@latest?module"></script>
1111
</body>
1212
</html>

include-fragment-element.js.flow

Lines changed: 0 additions & 12 deletions
This file was deleted.

index.d.ts

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)