aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/scenario/bootstrap.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/scenario/bootstrap.js b/src/scenario/bootstrap.js
index 694d0e97..f74305c3 100644
--- a/src/scenario/bootstrap.js
+++ b/src/scenario/bootstrap.js
@@ -25,13 +25,12 @@
};
window.onload = function(){
- _.defer(function(){
+ setTimeout(function(){
$scenarioRunner.run(jQuery(window.document.body));
- });
+ }, 0);
(onLoadDelegate||function(){})();
};
addCSS("../../css/angular-scenario.css");
- addScript("../../lib/underscore/underscore.js");
addScript("../../lib/jquery/jquery-1.4.2.js");
addScript("Runner.js");
addScript("../Angular.js");