Permalink
Browse files

Merge pull request #278 from anthonybennett/master

	Use jquery object in addCustomEqualityTester
  • Loading branch information...
2 parents 380426e + 18b7d7f commit df93bcf015fc0a541374fb5dd1e60782b1f34a69 @travisjeffery travisjeffery committed on GitHub Mar 28, 2017
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/jasmine-jquery.js
View
@@ -751,7 +751,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
var $a = $(a)
if (b instanceof $)
- return $a.length == b.length && a.is(b)
+ return $a.length == b.length && $a.is(b)
return $a.is(b);
}
@@ -762,7 +762,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
if (a instanceof $)
return a.length == $b.length && $b.is(a)
- return $(b).is(a);
+ return $b.is(a);
}
}
})

1 comment on commit df93bcf

@travisjeffery When can we expect a publish to NPM including this change? This is blocking some of my test cases as well.

Please sign in to comment.