Fixed "Can't find variable: ObjJCompiler" error

This commit is contained in:
Martin Carlberg committed 2013-01-07 23:13:54 +01:00
1 parent d49e78c43e
commit 8100cdb17f
1 file changed
+1 -1
+1 -1
View File
@@ -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 : ""));
}