MCPcopy Create free account
hub / github.com/PrairieLearn/PrairieLearn / extend1

Function extend1

public/javascripts/dropzone.js:31–31  ·  view source on GitHub ↗
(child, parent)

Source from the content-addressed store, hash-verified

29 var Dropzone, Emitter, ExifRestore, camelize, contentLoaded, detectVerticalSquash, drawImageIOSFix, noop, without,
30 slice = [].slice,
31 extend1 = 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; },
32 hasProp = {}.hasOwnProperty;
33
34 noop = function() {};

Callers 1

dropzone.jsFile · 0.85

Calls 1

callMethod · 0.80

Tested by

no test coverage detected