added comment for IE9 Windows7 64bit bug

This commit is contained in:
Eric Rowell 2012-11-04 08:08:32 -08:00
parent b3e7e26248
commit 1a53757d2e

View File

@ -37,6 +37,10 @@ Kinetic.Global = {
//shapes hash. rgb keys and shape values
shapes: {},
warn: function(str) {
/*
* IE9 on Windows7 64bit will throw a JS error
* if we don't use window.console in the conditional
*/
if(window.console && console.warn) {
console.warn('Kinetic warning: ' + str);
}