MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / extend

Function extend

MathBox/mathbox-core.js:7749–7749  ·  view source on GitHub ↗
(child, parent)

Source from the content-addressed store, hash-verified

7747},{}],32:[function(require,module,exports){
7748var Group, Node,
7749 extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
7750 hasProp = {}.hasOwnProperty;
7751
7752Node = require('./node');

Callers 1

mathbox-core.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected