From a44fe402a140d108cc5942003d7b7bbfca7ab8a0 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Mon, 28 Dec 2009 09:02:55 -0800 Subject: [PATCH] removing broken accidental commit --- lib/coffee_script/narwhal/coffee-script.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/coffee_script/narwhal/coffee-script.coffee b/lib/coffee_script/narwhal/coffee-script.coffee index 2a4d8f58..00b85473 100644 --- a/lib/coffee_script/narwhal/coffee-script.coffee +++ b/lib/coffee_script/narwhal/coffee-script.coffee @@ -53,7 +53,7 @@ exports.evalCS: source => # Make a factory for the CoffeeScript environment. exports.makeNarwhalFactory: path => code: exports.compileFile(path) - factoryText: "function(require,exports,module,system,print){ 1 + 1 /**/\n}" + factoryText: "function(require,exports,module,system,print){" + code + "/**/\n}" if system.engine is "rhino" Packages.org.mozilla.javascript.Context.getCurrentContext().compileFunction(global, factoryText, path, 0, null) else