1
Vote

console.dir unsupported on some browsers

description

The command console.dir is used in JayDataModules/kendo.js, this is unsupported in iOS's UIWebView, and potentially other browsers, throwing an 'undefined' error.

Fix:

Check for typeof(console.dir) === 'undefined' prior to use, or implement the method manually for 'console'.

comments