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

Function _updateArray

lunar.js:8337–8348  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

8335 };
8336
8337 var _updateArray = function(c) {
8338 var v = _arrays[c];
8339 var o = _objs[c];
8340 for (var k in v) {
8341 var arr = v[k];
8342 for (var i = 0, j = arr.length; i < j; i++) {
8343 o[k][i] = arr[i].replace(/{(.[^}]*)}/g, function($0, $1) {
8344 return _getMessage($1);
8345 });
8346 }
8347 }
8348 };
8349
8350 var _updateStringDictionary = function(c) {
8351 var v = _dictString[c];

Callers 1

_updateFunction · 0.85

Calls 1

_getMessageFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…