MCPcopy Index your code
hub / github.com/totaljs/framework / viewengine_dynamic

Function viewengine_dynamic

internal.js:3114–3126  ·  view source on GitHub ↗
(content, language, controller, cachekey)

Source from the content-addressed store, hash-verified

3112}
3113
3114function viewengine_dynamic(content, language, controller, cachekey) {
3115
3116 var generator = cachekey ? (F.temporary.views[cachekey] || null) : null;
3117 if (generator)
3118 return generator;
3119
3120 generator = view_parse(view_parse_localization(modificators(content, '', 'view', controller), language), CONF.allow_compile_html, null, controller);
3121
3122 if (cachekey && !F.isDebug)
3123 F.temporary.views[cachekey] = generator;
3124
3125 return generator;
3126}
3127
3128function appendModel(str) {
3129 var index = str.indexOf('(');

Callers

nothing calls this directly

Calls 3

view_parseFunction · 0.85
view_parse_localizationFunction · 0.85
modificatorsFunction · 0.85

Tested by

no test coverage detected