Skip to content

Commit 8344a10

Browse files
committed
Use Array.isArray, when possible.
1 parent d9ebbae commit 8344a10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unpacked/MathJax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ MathJax.cdnFileVersions = {}; // can be used to specify revisions for individua
155155
})
156156
});
157157

158-
BASE.Object.isArray = function (obj) {
158+
BASE.Object.isArray = Array.isArray || function (obj) {
159159
return Object.prototype.toString.call(obj) === "[object Array]";
160160
};
161161

0 commit comments

Comments
 (0)