mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
added comment for IE9 Windows7 64bit bug
This commit is contained in:
parent
b3e7e26248
commit
1a53757d2e
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user