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

Function createObject

static/webuploader/webuploader.withoutimage.js:217–227  ·  view source on GitHub ↗
( proto )

Source from the content-addressed store, hash-verified

215 }
216
217 function createObject( proto ) {
218 var f;
219
220 if ( Object.create ) {
221 return Object.create( proto );
222 } else {
223 f = function() {};
224 f.prototype = proto;
225 return new f();
226 }
227 }
228
229
230 /**

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected