mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-06 09:02:50 +00:00
Respect previously set OBJJ_MAIN_FILE
This commit is contained in:
1 parent
f89c2e0ba9
commit
035d772a4a
1 file changed
+3
-2
@@ -15,9 +15,10 @@ rootNode.resolveSubPath(cwd, StaticResourceNode.DirectoryType, function(cwdNode)
|
||||
for (; index < count; ++index)
|
||||
cwdNode.nodeAtSubPath(FILE.normal(includePaths[index]), YES);
|
||||
#ifdef BROWSER
|
||||
OBJJ_MAIN_FILE = "main.j";
|
||||
if (typeof OBJJ_MAIN_FILE === "undefined")
|
||||
OBJJ_MAIN_FILE = "main.j";
|
||||
|
||||
fileImporterForPath(cwd)("main.j", YES, function()
|
||||
fileImporterForPath(cwd)(OBJJ_MAIN_FILE, YES, function()
|
||||
{
|
||||
afterDocumentLoad(main);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user