mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-23 00:28:53 +00:00
Formatting.
This commit is contained in:
1 parent
ad109532be
commit
e7f0400580
4 files changed
+22
-22
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user