Only clear resources if suite is not disabled

[#66789174]
This commit is contained in:
Christopher Amavisca and Greg Cobb
2014-03-05 14:00:57 -08:00
parent 752a36d3ff
commit b200952195
7 changed files with 363 additions and 139 deletions

View File

@@ -31,7 +31,7 @@ getJasmineRequireObj().util = function() {
};
util.clone = function(obj) {
if (Object.prototype.toString.apply(obj) === "[object Array]") {
if (Object.prototype.toString.apply(obj) === '[object Array]') {
return obj.slice();
}
@@ -43,7 +43,7 @@ getJasmineRequireObj().util = function() {
}
return cloned;
}
};
return util;
};