Check for accidental global variable creation

This commit is contained in:
Steve Gravrock
2018-03-25 12:01:50 -07:00
parent 7f1cdc2d02
commit 74287c578c
9 changed files with 26 additions and 8 deletions

View File

@@ -736,11 +736,11 @@ getJasmineRequireObj().Env = function(j$) {
message += ': ';
if (error.message) {
message += error.message;
} else if (jasmine.isString_(error)) {
} else if (j$.isString_(error)) {
message += error;
} else {
// pretty print all kind of objects. This includes arrays.
message += jasmine.pp(error);
message += j$.pp(error);
}
}