Skip to content

Loading…

Fix specit so it works in Internet Explorer #6

Closed
wants to merge 1 commit into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 13, 2011
  1. @robdmoore
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +3 −3 specit.js
View
6 specit.js
@@ -40,7 +40,7 @@
should: function() { return expect("should", arguments); },
shouldNot: function() { return expect("shouldNot", arguments); }
}
- },
+ }
};
var Matcher = function(expectation, assertion, options) {
@@ -89,7 +89,7 @@
beEmpty: "Expected {actual} {not} to be empty",
beToTheLeftOf: "Expected {actual} {not} to be to the left of {expected}",
beToTheRightOf: "Expected {actual} {not} to be to the right of {expected}",
- beAbove: "Expected {actual} {not} to be above {expected}",
+ beAbove: "Expected {actual} {not} to be above {expected}"
}, message, options = arguments[3];
message = matcherMessages[matcher];
@@ -219,7 +219,7 @@
{assert: $(this).offset().top < $(arguments[0]).offset().top,
expected: {value: $(arguments[0]).selector, parse: true},
actual: {value: $(this).selector, parse: true}});
- },
+ }
}
});
Something went wrong with that request. Please try again.