Skip to content

Commit b8dc27f

Browse files
Using Array.isArray unbreaks the mathjax bundle test
1 parent 4203088 commit b8dc27f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plot_api/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ exports.cleanLayout = function(layout) {
174174
cleanAxRef(shape, 'yref');
175175
}
176176

177-
var imagesLen = isArray(layout.images) ? layout.images.length : 0;
177+
var imagesLen = Array.isArray(layout.images) ? layout.images.length : 0;
178178
for(i = 0; i < imagesLen; i++) {
179179
var image = layout.images[i];
180180

0 commit comments

Comments
 (0)