Skip to content

Commit d9056d1

Browse files
authored
Merge branch 'master' into 3.1
2 parents c99bd78 + 5745cce commit d9056d1

21 files changed

+84
-212
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ test/screenshots
44
test/videos
55
.build
66
.idea
7+
.parcel-cache

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.
66
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
77
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9+
910
## [3.1.0-beta.1]
1011

1112
This version introduces upwards scroll support (fixes [#466](https://github.com/webcreate/infinite-ajax-scroll/issues/466)). See documentation on the [`prev`](docs/options.md#prev) option on how to enable this feature.
@@ -18,6 +19,10 @@ This version introduces upwards scroll support (fixes [#466](https://github.com/
1819
* Added [`prepend`](docs/events.md#prepend) event
1920
* Added [`prepended`](docs/events.md#prepended) event
2021

22+
## [3.0.1]
23+
24+
* Fixed prefill not filling past the scroll threshold
25+
2126
## [3.0.0]
2227

2328
Changes since 3.0.0-rc.1:
@@ -119,7 +124,9 @@ See [LICENSE](LICENSE) for more details.
119124
* Extensible through events
120125
* Added an extensive test suite
121126

122-
[3.1.0-beta.1]: https://github.com/webcreate/infinite-ajax-scroll/compare/3.0.0...3.1.0-beta.1
127+
128+
[3.1.0-beta.1]: https://github.com/webcreate/infinite-ajax-scroll/compare/3.0.1...3.1.0-beta.1
129+
[3.0.1]: https://github.com/webcreate/infinite-ajax-scroll/compare/3.0.0...3.0.1
123130
[3.0.0]: https://github.com/webcreate/infinite-ajax-scroll/compare/3.0.0-rc.1...3.0.0
124131
[3.0.0-rc.1]: https://github.com/webcreate/infinite-ajax-scroll/compare/v2.3.1...3.0.0-rc.1
125132
[2.3.1]: https://github.com/webcreate/infinite-ajax-scroll/compare/v2.3.0...v2.3.1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ More features, documentation and examples available at: https://docs.infiniteaja
2323
Get up and running in no time by linking directly to Infinite Ajax Scroll on [unpkg](https://unpkg.com).
2424

2525
```markup
26-
<script src="https://unpkg.com/@webcreate/infinite-ajax-scroll@^3.0.0/dist/infinite-ajax-scroll.min.js"></script>
26+
<script src="https://unpkg.com/@webcreate/infinite-ajax-scroll@^3/dist/infinite-ajax-scroll.min.js"></script>
2727
```
2828

2929
Place this code right before the `</body>` tag on each template or page that you want to use infinite scroll on.

examples/articles/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
node_modules
22
dist
3-
.cache
3+
.parcel-cache
44
package-lock.json
55
.npmrc

examples/articles/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h1>Infinite Scroll Example Blog</h1>
3939
</div>
4040
</div>
4141

42-
<script src="./index.js"></script>
42+
<script type="module" src="./index.js"></script>
4343

4444
<footer class="ias-foot">This <a href="https://infiniteajaxscroll.com/examples/articles/">infinite scroll for blog</a> example is powered by <a href="https://infiniteajaxscroll.com">Infinite Ajax Scroll</a></footer>
4545
</body>

examples/articles/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.1.0-beta.1"
3333
},
3434
"devDependencies": {
35-
"parcel-bundler": "^1.12.4"
35+
"parcel": "^2.0.0"
3636
}
3737
}

examples/articles/page2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ <h1>Pellentesque habitant morbi senectus</h1>
4040
</div>
4141
</div>
4242

43-
<script src="./index.js"></script>
43+
<script type="module" src="./index.js"></script>
4444

4545
<footer class="ias-foot">This <a href="https://infiniteajaxscroll.com/examples/articles/">infinite scroll for blog</a> example is powered by <a href="https://infiniteajaxscroll.com">Infinite Ajax Scroll</a></footer>
4646
</body>

examples/articles/page3.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ <h1>Diam sollicitudin tempor id eu nisl</h1>
3838
</div>
3939
</div>
4040

41-
<script src="./index.js"></script>
41+
<script type="module" src="./index.js"></script>
4242

4343
<footer class="ias-foot">This <a href="https://infiniteajaxscroll.com/examples/articles/">infinite scroll for blog</a> example is powered by <a href="https://infiniteajaxscroll.com">Infinite Ajax Scroll</a></footer>
4444
</body>

examples/blocks/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
node_modules
22
dist
3-
.cache
3+
.parcel-cache
44
package-lock.json
55
.npmrc

examples/blocks/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<div class="loader"></div>
2121
</div>
2222

23-
<script src="./index.js"></script>
23+
<script type="module" src="./index.js"></script>
2424

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

0 commit comments

Comments
 (0)