From 96c168845f44cebb923e407a3f268377a123a21f Mon Sep 17 00:00:00 2001 From: Danny Yoo Date: Mon, 19 Sep 2011 11:21:04 -0400 Subject: [PATCH 1/2] simplifying the logic for the vmlCanvasManager check --- image/private/kernel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/private/kernel.js b/image/private/kernel.js index e9aae7e..7221e2b 100644 --- a/image/private/kernel.js +++ b/image/private/kernel.js @@ -139,7 +139,7 @@ var makeCanvas = function(width, height) { // KLUDGE: IE compatibility uses /js/excanvas.js, and dynamic // elements must be marked this way. - if (window && typeof window.G_vmlCanvasManager != 'undefined') { + if (window.G_vmlCanvasManager) { canvas = window.G_vmlCanvasManager.initElement(canvas); } return canvas; From 0f7320f946827791778e6181ddc62cfcf40887cf Mon Sep 17 00:00:00 2001 From: Danny Yoo Date: Mon, 19 Sep 2011 11:27:24 -0400 Subject: [PATCH 2/2] need to test map --- tests/more-tests/map.rkt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/more-tests/map.rkt diff --git a/tests/more-tests/map.rkt b/tests/more-tests/map.rkt new file mode 100644 index 0000000..1c1552e --- /dev/null +++ b/tests/more-tests/map.rkt @@ -0,0 +1,2 @@ +#lang planet dyoo/whalesong +(map (lambda (x y) (+ x y)) (list 1 2 3) (list 4 5 6))