MCPcopy Create free account
hub / github.com/6tail/lunar-javascript / _initDictionary

Function _initDictionary

lunar.js:8463–8484  ·  view source on GitHub ↗
(c, type)

Source from the content-addressed store, hash-verified

8461 };
8462
8463 var _initDictionary = function(c, type) {
8464 var v;
8465 switch(type){
8466 case 'string':
8467 v = _dictString[c];
8468 break;
8469 case 'number':
8470 v = _dictNumber[c];
8471 break;
8472 case 'array':
8473 v = _dictArray[c];
8474 break;
8475 default:
8476 }
8477 var o = _objs[c];
8478 for (var k in v) {
8479 var dict = o[k];
8480 for (var key in dict) {
8481 v[k][key] = dict[key];
8482 }
8483 }
8484 };
8485
8486 var _init = function() {
8487 if (_inited) {

Callers 1

_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…