MCPcopy Create free account
hub / github.com/breck7/scroll / createObj

Function createObj

external/.scrollLibs.js:776–788  ·  view source on GitHub ↗
(base, props)

Source from the content-addressed store, hash-verified

774 function nothing() {}
775
776 function createObj(base, props) {
777 var inst
778 if (Object.create) {
779 inst = Object.create(base)
780 } else {
781 nothing.prototype = base
782 inst = new nothing()
783 }
784 if (props) {
785 copyObj(props, inst)
786 }
787 return inst
788 }
789
790 var nonASCIISingleCaseAtomChar = /[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/
791 function isAtomCharBasic(ch) {

Callers 2

resolveModeFunction · 0.85
.scrollLibs.jsFile · 0.85

Calls 1

copyObjFunction · 0.85

Tested by

no test coverage detected