mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-09 16:38:45 +00:00
A little code clean up.
This commit is contained in:
1 parent
ca99114b16
commit
803c8ce6b5
2 files changed
+444
-60
No files matched your search
@@ -41,13 +41,8 @@ function FileExecutable(/*CFURL|String*/ aURL, /*Dictionary*/ aFilenameTranslate
|
||||
if (fileContents.match(/^@STATIC;/))
|
||||
executable = decompile(fileContents, aURL);
|
||||
|
||||
else if ((extension === "j" || !extension) && !fileContents.match(/^{/)) {
|
||||
// console.log("Compile: " + aURL);
|
||||
// if (!aURL || aURL.toString().indexOf("Boplats/Office/Applications") === -1)
|
||||
// executable = exports.preprocess(fileContents, aURL, Preprocessor.Flags.IncludeDebugSymbols);
|
||||
// else
|
||||
executable = exports.compileFileDependencies(fileContents, aURL, ObjJCompiler.Flags.IncludeDebugSymbols);
|
||||
}
|
||||
else if ((extension === "j" || !extension) && !fileContents.match(/^{/))
|
||||
executable = exports.compileFileDependencies(fileContents, aURL, ObjJCompiler.Flags.IncludeDebugSymbols); // FIXME: Include correct flags
|
||||
else
|
||||
executable = new Executable(fileContents, [], aURL);
|
||||
|
||||
|
||||
+442
-53
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user