MCPcopy Create free account
hub / github.com/sql-js/sql.js / template

Function template

documentation/javascript/application.js:11370–11372  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

11368 var render = new Function(settings.variable || 'obj', '_', source);
11369 if (data) return render(data, _);
11370 var template = function(data) {
11371 return render.call(this, data, _);
11372 };
11373
11374 // Provide the compiled function source as a convenience for build time
11375 // precompilation.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…