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

Function bind

plugins/Sidebar/media/all.js:63–63  ·  view source on GitHub ↗
(fn, me)

Source from the content-addressed store, hash-verified

61(function() {
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

Callers 2

ConsoleFunction · 0.70
SidebarFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected