MCPcopy Create free account
hub / github.com/TruthHun/BookStack / makeGetter

Function makeGetter

static/word2md/mammoth.browser.js:4319–4324  ·  view source on GitHub ↗
(propertyName)

Source from the content-addressed store, hash-verified

4317};
4318
4319var makeGetter = function (propertyName) {
4320 return new Function("obj", " \n\
4321 'use strict'; \n\
4322 return obj.propertyName; \n\
4323 ".replace("propertyName", propertyName));
4324};
4325
4326var getCompiled = function(name, compiler, cache) {
4327 var ret = cache[name];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected