Remove version/versionString and currentRunner

- Instead of version/versionString, jasmine.version should be sufficient
- currentRunner was exposing Jasmine's internal top level suite
This commit is contained in:
Sheel Choksi
2013-10-24 15:42:46 -07:00
parent f1613ce77c
commit d9ece1f14f
2 changed files with 13 additions and 32 deletions

View File

@@ -175,20 +175,6 @@ getJasmineRequireObj().Env = function(j$) {
j$.Expectation.addMatchers(matchersToAdd);
};
this.version = function() {
return j$.version;
};
this.versionString = function() {
console.log("DEPRECATED == use j$.version");
return j$.version;
};
// TODO: Still needed?
this.currentRunner = function() {
return topSuite;
};
this.spyOn = function(obj, methodName) {
if (j$.util.isUndefined(obj)) {
throw new Error("spyOn could not find an object to spy upon for " + methodName + "()");