Formatting.

This commit is contained in:
Alexander Ljungberg committed 2013-01-20 18:24:48 +00:00
1 parent ad109532be
commit e7f0400580
4 files changed
+22 -22

No files matched your search

+7 -7
View File
@@ -35,7 +35,7 @@ function Executable(/*String*/ aCode, /*Array*/ fileDependencies, /*CFURL|String
this._function = aFunction || null;
this._URL = makeAbsoluteURL(aURL || new CFURL("(Anonymous" + (AnonymousExecutableCount++) + ")"));
this._compiler = aCompiler || null;
this._compiler = aCompiler || null;
this._fileDependencies = fileDependencies;
this._filenameTranslateDictionary = aFilenameTranslateDictionary;
@@ -51,8 +51,8 @@ function Executable(/*String*/ aCode, /*Array*/ fileDependencies, /*CFURL|String
if (this._function)
return;
if (!aCompiler)
this.setCode(aCode);
if (!aCompiler)
this.setCode(aCode);
}
exports.Executable = Executable;
@@ -151,8 +151,8 @@ Executable.prototype.execute = function()
CPLog("EXECUTION: " + this.URL());
#endif
if (this._compiler)
{
if (this._compiler)
{
var fileDependencies = this.fileDependencies(),
index = 0,
count = fileDependencies.length;
@@ -166,9 +166,9 @@ Executable.prototype.execute = function()
this.fileExecuter()(URL, isQuoted);
}
this.setCode(this._compiler.compilePass2());
this.setCode(this._compiler.compilePass2());
this._compiler = null;
}
}
var oldContextBundle = CONTEXT_BUNDLE;