Skip to content

Commit 5dd7415

Browse files
committed
upgraded parcel in button example
1 parent 3c4afb8 commit 5dd7415

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/button/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<button id="btn1" class="trigger">Load more</button>
2222
</div>
2323

24-
<script src="./index.js"></script>
24+
<script type="module" src="./index.js"></script>
2525

2626
<footer class="ias-foot">This <a href="https://infiniteajaxscroll.com/examples/button/">infinite scroll</a> example is powered by <a href="https://infiniteajaxscroll.com">Infinite Ajax Scroll</a></footer>
2727
</body>

examples/button/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"private": true,
1414
"scripts": {
1515
"build": "parcel build *.html --public-url ./",
16-
"watch": "parcel watch * --public-url ./",
16+
"watch": "parcel watch *.html --public-url ./",
1717
"link": "npm link ../../"
1818
},
1919
"keywords": [
@@ -32,6 +32,6 @@
3232
"@webcreate/infinite-ajax-scroll": "^3.0.0"
3333
},
3434
"devDependencies": {
35-
"parcel-bundler": "^1.12.4"
35+
"parcel": "^2.0.0"
3636
}
3737
}

0 commit comments

Comments
 (0)