Remove the, now unused, Util.inherit
helper function
This commit is contained in:
parent
bf6d45f85a
commit
c1c49badff
@ -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;
|
||||
})();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user