Removed unused util.htmlEscape

This commit is contained in:
Steve Gravrock
2021-03-04 12:46:23 -08:00
parent 9ab039e330
commit 46e7158c77

View File

@@ -7,16 +7,6 @@ getJasmineRequireObj().util = function(j$) {
childClass.prototype = new Subclass();
};
util.htmlEscape = function(str) {
if (!str) {
return str;
}
return str
.replace(/&/g, '&')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;');
};
util.argsToArray = function(args) {
var arrayOfArgs = [];
for (var i = 0; i < args.length; i++) {