From 87f644e5ba46759ed22d089955b29589f218083b Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Tue, 9 Dec 2008 15:03:41 -0800 Subject: [PATCH] Forgot to commit this earlier. Reviewed by me. --- Objective-J/bootstrap.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Objective-J/bootstrap.js b/Objective-J/bootstrap.js index da0794cf3..d0577d74c 100644 --- a/Objective-J/bootstrap.js +++ b/Objective-J/bootstrap.js @@ -20,4 +20,5 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -objj_import("main.j", YES, function() { main(); }); +if (window.OBJJ_MAIN_FILE) + objj_import("main.j", YES, function() { main(); });