diff options
| author | Shyam Seshadri | 2010-08-10 10:48:31 -0700 |
|---|---|---|
| committer | Shyam Seshadri | 2010-08-10 10:48:31 -0700 |
| commit | 86c2ef87d5069f0836079e171c0f33efcf2b5d24 (patch) | |
| tree | cc99bb5bfcc1d0ff5a0ac8382c9ffe2352d167bf /test/scenario/TestContext.js | |
| parent | 21d2b43e6c81b7b6b55599f0274495d25411b4f0 (diff) | |
| download | angular.js-86c2ef87d5069f0836079e171c0f33efcf2b5d24.tar.bz2 | |
Inject jquery into future scope, and rename outer scenario to _window, which is what it is
Diffstat (limited to 'test/scenario/TestContext.js')
| -rw-r--r-- | test/scenario/TestContext.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/scenario/TestContext.js b/test/scenario/TestContext.js index ebb40b95..0c8e6143 100644 --- a/test/scenario/TestContext.js +++ b/test/scenario/TestContext.js @@ -1,4 +1,4 @@ -var scenario, runner, log, $scenario; +var _window, runner, log, $scenario; function logger(text) { return function(done){ @@ -8,8 +8,8 @@ function logger(text) { } function setUpContext() { - scenario = {}; - runner = new angular.scenario.Runner(scenario, _jQuery); - $scenario = scenario.$scenario; + _window = {}; + runner = new angular.scenario.Runner(_window, _jQuery); + $scenario = _window.$scenario; log = ''; } |
