MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / registerProp

Function registerProp

lib/web/tern/infer.js:812–815  ·  view source on GitHub ↗
(prop, obj)

Source from the content-addressed store, hash-verified

810 // THE PROPERTY REGISTRY
811
812 function registerProp(prop, obj) {
813 var data = cx.props[prop] || (cx.props[prop] = []);
814 data.push(obj);
815 }
816
817 function objsWithProp(prop) {
818 return cx.props[prop];

Callers 1

infer.jsFile · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected