From 0a573f9da10aed9675875d37c9364629c9bdcd0f Mon Sep 17 00:00:00 2001 From: Martin Carlberg Date: Wed, 9 Jan 2013 09:29:43 +0100 Subject: [PATCH] Removed unused 6th parameter --- Objective-J/CommonJS/lib/objective-j.js | 2 +- Objective-J/CommonJS/lib/objective-j/jake/bundletask.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Objective-J/CommonJS/lib/objective-j.js b/Objective-J/CommonJS/lib/objective-j.js index 6e4658155..254a96c16 100644 --- a/Objective-J/CommonJS/lib/objective-j.js +++ b/Objective-J/CommonJS/lib/objective-j.js @@ -94,7 +94,7 @@ exports.run = function(args) var arg0 = argv.shift(); var mainFilePath = FILE.canonical(arg0); - exports.make_narwhal_factory(mainFilePath)(require, { }, module, system, print, window); + exports.make_narwhal_factory(mainFilePath)(require, { }, module, system, print); if (typeof main === "function") main([arg0].concat(argv)); diff --git a/Objective-J/CommonJS/lib/objective-j/jake/bundletask.js b/Objective-J/CommonJS/lib/objective-j/jake/bundletask.js index 45021f9c4..80193a8d9 100644 --- a/Objective-J/CommonJS/lib/objective-j/jake/bundletask.js +++ b/Objective-J/CommonJS/lib/objective-j/jake/bundletask.js @@ -880,7 +880,7 @@ BundleTask.prototype.defineSourceTasks = function() basePath = absolutePath.substring(0, absolutePath.length - theTranslatedFilename.length); require("objective-j").setCurrentCompilerFlags(environmentCompilerFlags); - require("objective-j").make_narwhal_factory(absolutePath, basePath, translateFilenameToPath)(require, e, module, system, print, window); + require("objective-j").make_narwhal_factory(absolutePath, basePath, translateFilenameToPath)(require, e, module, system, print); TERM.stream.write("Compiling [\0blue(" + anEnvironment + "\0)] \0purple(" + aFilename + "\0)").flush(); var otherwayTranslatedFilename = otherwayTranslateFilenameToPath[aFilename] ? otherwayTranslateFilenameToPath[aFilename] : aFilename,