From 64dc25dfb6e4d487f4fc616febafe75d70ffcfaf Mon Sep 17 00:00:00 2001 From: Tom Robinson Date: Thu, 11 Feb 2010 19:00:01 -0800 Subject: [PATCH] Export rootNode. --- Objective-J/Bootstrap.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Objective-J/Bootstrap.js b/Objective-J/Bootstrap.js index f84581122..9467f0c93 100644 --- a/Objective-J/Bootstrap.js +++ b/Objective-J/Bootstrap.js @@ -1,6 +1,3 @@ - -makeExportsGlobal(); - var rootNode = new StaticResourceNode("", NULL, StaticResourceNode.DirectoryType, YES), cwd = FILE.cwd(); #ifndef COMMONJS @@ -46,3 +43,7 @@ afterDocumentLoad(function() documentLoaded = YES; }); #endif + +exports.rootNode = rootNode; + +makeExportsGlobal();