MCPcopy Create free account
hub / github.com/TruthHun/BookStack / createObject

Function createObject

static/webuploader/webuploader.custom.js:528–538  ·  view source on GitHub ↗
( proto )

Source from the content-addressed store, hash-verified

526 }
527
528 function createObject( proto ) {
529 var f;
530
531 if ( Object.create ) {
532 return Object.create( proto );
533 } else {
534 f = function() {};
535 f.prototype = proto;
536 return new f();
537 }
538 }
539
540
541 /**

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected