Skip to content

Commit

Permalink
Fixed dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorhakes committed Jun 16, 2019
1 parent 03f6f9a commit 685e18b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/polyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function finallyConstructor(callback) {
var setTimeoutFunc = setTimeout;

function isArray(x) {
return Boolean(x && x.length);
return Boolean(x && typeof x.length !== 'undefined');
}

function noop() {}
Expand Down
2 changes: 1 addition & 1 deletion dist/polyfill.min.js

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
@@ -1,6 +1,6 @@
{
"name": "promise-polyfill",
"version": "8.1.2",
"version": "8.1.3",
"description": "Lightweight promise polyfill. A+ compliant",
"main": "lib/index.js",
"module": "src/index.js",
Expand Down

0 comments on commit 685e18b

Please sign in to comment.