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

Function createObject

static/webuploader/webuploader.html5only.js:225–235  ·  view source on GitHub ↗
( proto )

Source from the content-addressed store, hash-verified

223 }
224
225 function createObject( proto ) {
226 var f;
227
228 if ( Object.create ) {
229 return Object.create( proto );
230 } else {
231 f = function() {};
232 f.prototype = proto;
233 return new f();
234 }
235 }
236
237
238 /**

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected