radialIndicator
radialIndicator copied to clipboard
IE8 causes following script to stop
Hi, Due to errors in IE8 further scripts are not properly processed
Starts here: Object doesn't support this property or method , L40, C9
Not supporting IE8 is fine, but it should be checked for support ( it doesnt have canvas for instance ) and then the library should stop trying to do things in order to keep the console clean of errors and allow the scripts to continue
Thanks
Suggestion
var document = window.document;
//insert here
var elem = document.createElement('canvas');
if(!!(elem.getContext && elem.getContext('2d')) == false){
console.warn("No Canvas support stopping radialIndicator.js");
return;
}