From 8100cdb17f2d9eec721800e15f48e96c8a10592a Mon Sep 17 00:00:00 2001 From: Martin Carlberg Date: Mon, 7 Jan 2013 23:13:54 +0100 Subject: [PATCH] Fixed "Can't find variable: ObjJCompiler" error --- Objective-J/Executable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objective-J/Executable.js b/Objective-J/Executable.js index 6fd3fd57c..e604ec9cf 100644 --- a/Objective-J/Executable.js +++ b/Objective-J/Executable.js @@ -497,7 +497,7 @@ Executable.fileExecutableSearcherForURL = function(/*CFURL*/ referenceURL) { if (!aStaticResource) { - var compilingFileUrl = ObjJCompiler && ObjJCompiler.currentCompileFile ? ObjJCompiler.currentCompileFile : ObjJAcornCompiler ? ObjJAcornCompiler.currentCompileFile : null; + var compilingFileUrl = ObjJAcornCompiler ? ObjJAcornCompiler.currentCompileFile : null; throw new Error("Could not load file at " + aURL + (compilingFileUrl ? " when compiling " + compilingFileUrl : "")); }