diff --git a/lib/app_base/scripts/splash.js b/lib/app_base/scripts/splash.js index fcff204..fe7f0e8 100644 --- a/lib/app_base/scripts/splash.js +++ b/lib/app_base/scripts/splash.js @@ -8,10 +8,13 @@ * @Requires: jQuery 1.3.2 or greater (preferably 1.4.2, I make no guarantee for anything else, but it should work) */ -var splash_reserved = {}; +if(typeof splash === "undefined") + var splash = {}; var game_on = function(json) { if(/App Code/.test(json)) return; + + debug(json); }; if(typeof debug === "undefined") @@ -21,12 +24,12 @@ if(typeof debug === "undefined") }; $(document).ready(function() { - splash_reserved.wrapper = $("#splash_app_wrapper"); + splash.wrapper = $("#splash_app_wrapper"); /* Rough guesstimation for now on desired height, finagle later. Wait until the frame is our desired height before * "running" our program. */ - splash_reserved.wrapper.animate({"height": $(window).height() - 50}, 800, function() { + splash.wrapper.animate({"height": $(window).height() - 50}, 800, function() { main(); }); }); diff --git a/readme.md b/readme.md index cc45976..06157fa 100644 --- a/readme.md +++ b/readme.md @@ -47,7 +47,6 @@ your story. Check out this example: end verb ran: - who: daniel position: store end