Skip to content

Commit

Permalink
Use JX.isArray to check isArray
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeinafolder committed Aug 10, 2012
1 parent e5cb77c commit 885cf3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ext/fx/FX.js
Expand Up @@ -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);
Expand Down

0 comments on commit 885cf3b

Please sign in to comment.