mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-30 10:22:03 +00:00
Correct a use of global. to be GLOBAL_NAMESPACE. at least until we have a better solution.
This commit is contained in:
1 parent
3e5bdec033
commit
1961829414
2 files changed
+5
-7
No files matched your search
@@ -102,10 +102,6 @@ function decompile(/*String*/ aString, /*String*/ aPath)
|
||||
|
||||
return new Executable(code, dependencies, aPath);
|
||||
}
|
||||
/*
|
||||
global.objj_executeFile = executeFile;
|
||||
global.objj_importFile = importFile;
|
||||
global.objj_import = importFile;
|
||||
*/
|
||||
|
||||
exports.FileExecutable = FileExecutable;
|
||||
exports.FileExecutablesForPaths = FileExecutablesForPaths;
|
||||
exports.FileExecutablesForPaths = FileExecutablesForPaths;
|
||||
@@ -373,9 +373,11 @@ StaticResource.resolveStandardNodeAtPath = function(/*String*/ aPath, /*Function
|
||||
resolveStandardNodeAtPath(aPath, 0);
|
||||
}
|
||||
|
||||
var GLOBAL_NAMESPACE = GLOBAL_NAMESPACE || global;
|
||||
|
||||
exports.includePaths = function()
|
||||
{
|
||||
return global.OBJJ_INCLUDE_PATHS || ["Frameworks", "Frameworks/Debug"];
|
||||
return GLOBAL_NAMESPACE.OBJJ_INCLUDE_PATHS || ["Frameworks", "Frameworks/Debug"];
|
||||
}
|
||||
|
||||
StaticResource.cwd = FILE.cwd();
|
||||
|
||||
Reference in new issue
Block a user