MCPcopy Create free account
hub / github.com/deathcap/ProgrammerArt / substituteVariables

Function substituteVariables

scripts/modpack_data.js:24–26  ·  view source on GitHub ↗
(s, value)

Source from the content-addressed store, hash-verified

22};
23
24var substituteVariables = function(s, value) {
25 return s.replace('<LOWER>', value).replace('<UCFIRST>', ucfirst(value));
26};
27
28var result = {blocks: {}, items: {}};
29for (var base in bases) {

Callers 1

modpack_data.jsFile · 0.85

Calls 1

ucfirstFunction · 0.85

Tested by

no test coverage detected