Oops, OBJJ_HOME got left out of the Rhino scope thingy. Sorry, OBJJ_HOME.

This commit is contained in:
Tom Robinson
2009-09-18 02:51:11 -07:00
parent b7493586e2
commit 32096ade9f
+3 -2
View File
@@ -10,8 +10,9 @@ if (window.isRhino) {
}
// setup OBJJ_HOME, OBJJ_INCLUDE_PATHS, etc
var OBJJ_HOME = exports.OBJJ_HOME = file.resolve(module.path, "..", ".."),
frameworksPath = file.resolve(OBJJ_HOME, "lib/", "Frameworks/"),
window.OBJJ_HOME = exports.OBJJ_HOME = file.resolve(module.path, "..", "..");
var frameworksPath = file.resolve(window.OBJJ_HOME, "lib/", "Frameworks/"),
objectivejPath = file.resolve(frameworksPath, "Objective-J/", "rhino.platform/", "Objective-J.js");
window.OBJJ_INCLUDE_PATHS = [frameworksPath];