Cleaning up explicit dependencies

This commit is contained in:
Davis W. Frank and Sheel Choksi
2013-07-01 15:55:43 -07:00
parent 661a884416
commit 2916a8a1ff
8 changed files with 20 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
getJasmineRequireObj().requireMatchers = function(jRequire) {
getJasmineRequireObj().requireMatchers = function(jRequire, j$) {
var availableMatchers = [
"toBe",
"toBeCloseTo",
@@ -22,7 +22,7 @@ getJasmineRequireObj().requireMatchers = function(jRequire) {
for (var i = 0; i < availableMatchers.length; i++) {
var name = availableMatchers[i];
matchers[name] = jRequire[name]();
matchers[name] = jRequire[name](j$);
}
return matchers;