MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / extend

Function extend

plugins/Sidebar/media/all.js:64–64  ·  view source on GitHub ↗
(child, parent)

Source from the content-addressed store, hash-verified

62 var Console,
63 bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
64 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; },
65 hasProp = {}.hasOwnProperty;
66
67 Console = (function(superClass) {

Callers 1

all.jsFile · 0.70

Calls 1

callMethod · 0.80

Tested by

no test coverage detected