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

Function createObject

static/webuploader/webuploader.fis.js:200–210  ·  view source on GitHub ↗
( proto )

Source from the content-addressed store, hash-verified

198 }
199
200 function createObject( proto ) {
201 var f;
202
203 if ( Object.create ) {
204 return Object.create( proto );
205 } else {
206 f = function() {};
207 f.prototype = proto;
208 return new f();
209 }
210 }
211
212
213 /**

Callers 1

webuploader.fis.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected