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

Function createObject

static/webuploader/webuploader.html5nodepend.js:755–765  ·  view source on GitHub ↗
( proto )

Source from the content-addressed store, hash-verified

753 }
754
755 function createObject( proto ) {
756 var f;
757
758 if ( Object.create ) {
759 return Object.create( proto );
760 } else {
761 f = function() {};
762 f.prototype = proto;
763 return new f();
764 }
765 }
766
767
768 /**

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected