Skip to content

Commit

Permalink
Fix unit tests in IE<8
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Blum committed Mar 15, 2012
1 parent 4728930 commit 3e53ed6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/browser_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ module("wysihtml5.browser", {


test("Check mobile contentEditable support", function() {
document.querySelector = document.querySelectorAll = function() {};

wysihtml5.browser.USER_AGENT = this.userAgents.iPad_iOS3;
ok(!wysihtml5.browser.supported(), "iPad is correctly unsupported");

Expand Down

0 comments on commit 3e53ed6

Please sign in to comment.