Permalink
Browse files

Merge pull request #28 from lifeinafolder/master

Use JX.isArray instead of instanceOf
  • Loading branch information...
2 parents e5cb77c + 885cf3b commit eeeac427d9af5d963e690f6a841bdc228e063ba1 @epriestley epriestley committed Aug 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ext/fx/FX.js
View
2 src/ext/fx/FX.js
@@ -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);

0 comments on commit eeeac42

Please sign in to comment.