Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #28 from lifeinafolder/master

Use JX.isArray instead of instanceOf
  • Loading branch information...
commit eeeac427d9af5d963e690f6a841bdc228e063ba1 2 parents e5cb77c + 885cf3b
Evan Priestley epriestley authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/ext/fx/FX.js
2  src/ext/fx/FX.js
View
@@ -112,7 +112,7 @@ JX.install('FX', {
},
_compute: function(from, to) {
- if (from instanceof Array) {
+ if (JX.isArray(Array)) {
return from.map(function(value, ii) {
return Math.round(this._compute(value, to[ii]));
}, this);
Please sign in to comment.
Something went wrong with that request. Please try again.