MCPcopy
hub / github.com/alyssaxuu/animockup / doInherit

Function doInherit

src/js/libraries/fixwebm.js:241–244  ·  view source on GitHub ↗
(newClass, baseClass)

Source from the content-addressed store, hash-verified

239 };
240
241 function doInherit(newClass, baseClass) {
242 newClass.prototype = Object.create(baseClass.prototype);
243 newClass.prototype.constructor = newClass;
244 }
245
246 function WebmBase(name, type) {
247 this.name = name || 'Unknown';

Callers 1

fixwebm.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected