Skip to content

Commit

Permalink
- fix bug: res is not defined in _fetch
Browse files Browse the repository at this point in the history
 - bump version
  • Loading branch information
zbryikt committed Jun 18, 2023
1 parent e2ac94a commit 03bf745
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Change Logs

## v0.1.1 (upcoming)
## v0.1.1

- audit fix to fix dependencies vulnerability
- fix bug: `res` is not defined in `_fetch`


## v0.1.0
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"files": [
"dist/**/*"
],
"version": "0.1.0",
"version": "0.1.1",
"homepage": "https://github.com/loadingio/paginate",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ls
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ paginate.prototype = Object.create(Object.prototype) <<< do
@_scroll-func = null

_fetch: (opt={}) ->
if !@fetchable! => return res []
if !@fetchable! => return Promise.resolve([])
@fire \fetching
@_running = true
@_user_fetch!then (r = []) ~>
Expand Down

0 comments on commit 03bf745

Please sign in to comment.