From 9758b0dcb1dddfa470a5510f95afd7489159ffcd Mon Sep 17 00:00:00 2001 From: Danny Yoo Date: Tue, 19 Jul 2011 14:27:44 -0400 Subject: [PATCH] working on images --- world/kernel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world/kernel.js b/world/kernel.js index a0d635a..dc233e5 100644 --- a/world/kernel.js +++ b/world/kernel.js @@ -213,7 +213,7 @@ ToDraw.prototype.toRawHandler = function(MACHINE, toplevelNode) { reusableCanvas.height = height; var ctx = reusableCanvas.getContext("2d"); v.render(ctx, 0, 0); - success([toplevelNode, rawJsworld.node_to_tree(reusableCanvasNode)]); + success([toplevelNode, reusableCanvasNode]); } else { success([toplevelNode, rawJsworld.node_to_tree(plt.baselib.format.toDomNode(v))]); }