Remove obsolete MessageResult

- jasmine.log is no longer supported.
This commit is contained in:
Rajan Agaskar
2012-12-07 16:43:27 -08:00
parent 4318de4647
commit 98c99c4ebb
4 changed files with 0 additions and 73 deletions

View File

@@ -61,25 +61,6 @@ jasmine.getGlobal = function() {
return getGlobal();
};
jasmine.MessageResult = function(values) {
this.type = 'log';
this.values = values;
this.trace = new Error(); // todo: test better
};
jasmine.MessageResult.prototype.toString = function() {
var text = "";
for (var i = 0; i < this.values.length; i++) {
if (i > 0) text += " ";
if (jasmine.isString_(this.values[i])) {
text += this.values[i];
} else {
text += jasmine.pp(this.values[i]);
}
}
return text;
};
/**
* Getter for the Jasmine environment. Ensures one gets created
*/