send feedback if isArray is not supported

This commit is contained in:
ansuz 2017-04-25 17:09:39 +02:00
parent f196b836db
commit 3309087277
1 changed files with 5 additions and 0 deletions

View File

@ -1189,6 +1189,11 @@ define([
if (typeof(window.Proxy) === 'undefined') { if (typeof(window.Proxy) === 'undefined') {
feedback("NO_PROXIES"); feedback("NO_PROXIES");
} }
if (typeof(Array.isArray) === 'function') {
feedback("NO_ISARRAY");
}
$(function() { $(function() {
// Race condition : if document.body is undefined when alertify.js is loaded, Alertify // Race condition : if document.body is undefined when alertify.js is loaded, Alertify
// won't work. We have to reset it now to make sure it uses a correct "body" // won't work. We have to reset it now to make sure it uses a correct "body"