From a0ab815589bc834cf8374b9656d9323881a593b9 Mon Sep 17 00:00:00 2001 From: Bojan Djuricic Date: Mon, 3 Mar 2014 22:23:49 +0100 Subject: [PATCH 1/2] createElementNS fix for IE7/8 #112 --- justgage.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/justgage.js b/justgage.js index 615776f..5551109 100644 --- a/justgage.js +++ b/justgage.js @@ -656,7 +656,10 @@ var defs = obj.canvas.canvas.childNodes[1]; var svg = "http://www.w3.org/2000/svg"; - if (ie < 9) { + if (ie !== 'undefined' && ie < 9 ) { + // VML mode - no SVG & SVG filter support + } + else if (ie !== 'undefined') { onCreateElementNsReady(function() { obj.generateShadow(svg, defs); }); From fa7adf6ce0c7a14d07af67963814d94e7fd74894 Mon Sep 17 00:00:00 2001 From: Bojan Djuricic Date: Mon, 3 Mar 2014 22:25:04 +0100 Subject: [PATCH 2/2] Update justgage.js --- justgage.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/justgage.js b/justgage.js index 5551109..939333d 100644 --- a/justgage.js +++ b/justgage.js @@ -7,6 +7,11 @@ * LATEST UPDATES * * ----------------------------- + * March 16, 2014. + * ----------------------------- + * fix - https://github.com/toorshia/justgage/issues/112 + * + * ----------------------------- * February 16, 2014. * ----------------------------- * fix - https://github.com/toorshia/justgage/issues/102