Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 791b13d

Browse files
committed
pull shyam
2 parents 550e5f8 + aa65625 commit 791b13d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scenario/DSL.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ angular.scenario.dsl.repeater = function(selector) {
104104
angular.scenario.dsl.element = function(selector) {
105105
var namePrefix = "Element '" + selector + "'";
106106
var futureJquery = {};
107-
for (key in _jQuery.fn) {
107+
for (key in (jQuery || _jQuery).fn) {
108108
(function(){
109109
var jqFnName = key;
110-
var jqFn = _jQuery.fn[key];
110+
var jqFn = (jQuery || _jQuery).fn[key];
111111
futureJquery[key] = function() {
112112
var jqArgs = arguments;
113113
return $scenario.addFuture(namePrefix + "." + jqFnName + "()",

0 commit comments

Comments
 (0)