Skip to content

Commit

Permalink
Use Array.isArray, when possible.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpvc committed Aug 29, 2016
1 parent d9ebbae commit 8344a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unpacked/MathJax.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ MathJax.cdnFileVersions = {}; // can be used to specify revisions for individua
})
});

BASE.Object.isArray = function (obj) {
BASE.Object.isArray = Array.isArray || function (obj) {
return Object.prototype.toString.call(obj) === "[object Array]";
};

Expand Down

0 comments on commit 8344a10

Please sign in to comment.