Properly pass j$ to Any so it can use other jasmine stuff

Fixes #806
This commit is contained in:
Gregg Van Hove
2015-03-18 13:12:40 -07:00
parent 46044dd345
commit 965229bd03
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ var getJasmineRequireObj = (function (jasmineGlobal) {
jRequire.base(j$, jasmineGlobal); jRequire.base(j$, jasmineGlobal);
j$.util = jRequire.util(); j$.util = jRequire.util();
j$.errors = jRequire.errors(); j$.errors = jRequire.errors();
j$.Any = jRequire.Any(); j$.Any = jRequire.Any(j$);
j$.Anything = jRequire.Anything(j$); j$.Anything = jRequire.Anything(j$);
j$.CallTracker = jRequire.CallTracker(); j$.CallTracker = jRequire.CallTracker();
j$.MockDate = jRequire.MockDate(); j$.MockDate = jRequire.MockDate();
@@ -2371,7 +2371,7 @@ getJasmineRequireObj().TreeProcessor = function() {
return TreeProcessor; return TreeProcessor;
}; };
getJasmineRequireObj().Any = function() { getJasmineRequireObj().Any = function(j$) {
function Any(expectedObject) { function Any(expectedObject) {
this.expectedObject = expectedObject; this.expectedObject = expectedObject;
+1 -1
View File
@@ -1,4 +1,4 @@
getJasmineRequireObj().Any = function() { getJasmineRequireObj().Any = function(j$) {
function Any(expectedObject) { function Any(expectedObject) {
this.expectedObject = expectedObject; this.expectedObject = expectedObject;
+1 -1
View File
@@ -21,7 +21,7 @@ var getJasmineRequireObj = (function (jasmineGlobal) {
jRequire.base(j$, jasmineGlobal); jRequire.base(j$, jasmineGlobal);
j$.util = jRequire.util(); j$.util = jRequire.util();
j$.errors = jRequire.errors(); j$.errors = jRequire.errors();
j$.Any = jRequire.Any(); j$.Any = jRequire.Any(j$);
j$.Anything = jRequire.Anything(j$); j$.Anything = jRequire.Anything(j$);
j$.CallTracker = jRequire.CallTracker(); j$.CallTracker = jRequire.CallTracker();
j$.MockDate = jRequire.MockDate(); j$.MockDate = jRequire.MockDate();