From 1a53757d2ec14cc784560ffcc1af64ec066c2122 Mon Sep 17 00:00:00 2001 From: Eric Rowell Date: Sun, 4 Nov 2012 08:08:32 -0800 Subject: [PATCH] added comment for IE9 Windows7 64bit bug --- src/Global.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Global.js b/src/Global.js index 309ca956..2c081a45 100644 --- a/src/Global.js +++ b/src/Global.js @@ -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); }