diff options
| author | Andres Ornelas Mesta | 2010-05-24 13:54:32 -0700 |
|---|---|---|
| committer | Andres Ornelas Mesta | 2010-05-24 13:54:32 -0700 |
| commit | f6c67e28c94033edf6a16eb6508de54679cb49db (patch) | |
| tree | 2789a523583eaf4aa1cb74e03a4a63ff5e046f05 /src/scenario/bootstrap.js | |
| parent | d485421e0e5d6c502e4f62de69d1b4b353f20bbd (diff) | |
| download | angular.js-f6c67e28c94033edf6a16eb6508de54679cb49db.tar.bz2 | |
happy
Diffstat (limited to 'src/scenario/bootstrap.js')
| -rw-r--r-- | src/scenario/bootstrap.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/scenario/bootstrap.js b/src/scenario/bootstrap.js index 81272bdd..51d24c38 100644 --- a/src/scenario/bootstrap.js +++ b/src/scenario/bootstrap.js @@ -20,7 +20,7 @@ window.onload = function(){ _.defer(function(){ - $scenarioRunner.run(jQuery(document.body)); + $scenarioRunner.run(jQuery(window.document.body)); }); (onLoadDelegate||function(){})(); }; @@ -29,6 +29,8 @@ addScript("../../lib/jquery/jquery-1.4.2.js"); addScript("../angular-bootstrap.js"); addScript("Runner.js"); - document.write('<script type="text/javascript">$scenarioRunner = new angular.scenario.Runner(window);</script>'); + document.write('<script type="text/javascript">' + + '$scenarioRunner = new angular.scenario.Runner(window, jQuery);' + + '</script>'); })(window.onload); |
