diff options
Diffstat (limited to 'src/scenario/dsl.js')
| -rw-r--r-- | src/scenario/dsl.js | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/scenario/dsl.js b/src/scenario/dsl.js index bbe29948..fb0037e0 100644 --- a/src/scenario/dsl.js +++ b/src/scenario/dsl.js @@ -180,7 +180,7 @@ angular.scenario.dsl('using', function() {  angular.scenario.dsl('binding', function() {    return function(name) {      return this.addFutureAction("select binding '" + name + "'", function($window, $document, done) { -      var values = $document.elements().bindings(name); +      var values = $document.elements().bindings($window.angular.element, name);        if (!values.length) {          return done("Binding selector '" + name + "' did not match.");        } @@ -260,7 +260,7 @@ angular.scenario.dsl('repeater', function() {    chain.column = function(binding) {      return this.addFutureAction("repeater '" + this.label + "' column '" + binding + "'", function($window, $document, done) { -      done(null, $document.elements().bindings(binding)); +      done(null, $document.elements().bindings($window.angular.element, binding));      });    }; @@ -269,7 +269,7 @@ angular.scenario.dsl('repeater', function() {        var matches = $document.elements().slice(index, index + 1);        if (!matches.length)          return done('row ' + index + ' out of bounds'); -      done(null, matches.bindings()); +      done(null, matches.bindings($window.angular.element));      });    }; | 
