Remove the, now unused, Util.inherit helper function

This commit is contained in:
Jonas Jenwald 2018-07-09 15:15:42 +02:00
parent bf6d45f85a
commit c1c49badff

View File

@ -875,14 +875,6 @@ var Util = (function UtilClosure() {
return (lowerCase ? romanStr.toLowerCase() : romanStr);
};
Util.inherit = function Util_inherit(sub, base, prototype) {
sub.prototype = Object.create(base.prototype);
sub.prototype.constructor = sub;
for (var prop in prototype) {
sub.prototype[prop] = prototype[prop];
}
};
return Util;
})();