MCPcopy Create free account
hub / github.com/WebReflection/neverland / unroll$1

Function unroll$1

index.js:1751–1768  ·  view source on GitHub ↗
(info, _ref)

Source from the content-addressed store, hash-verified

1749 };
1750
1751 var unroll$1 = function unroll(info, _ref) {
1752 var _entry;
1753
1754 var fn = _ref.fn,
1755 template = _ref.template,
1756 values = _ref.values;
1757 var entry = info.entry;
1758
1759 if (!entry || entry.fn !== fn) {
1760 info.entry = entry = {
1761 fn: fn,
1762 hook: null
1763 };
1764 entry.hook = createHook(createCache$1(info), entry);
1765 }
1766
1767 return (_entry = entry).hook.apply(_entry, [template].concat(_toConsumableArray(values)));
1768 };
1769
1770 var unrollHole = function unrollHole(info, _ref2) {
1771 var values = _ref2.values;

Callers 2

render$1Function · 0.70
unrollValues$1Function · 0.70

Calls 3

createCache$1Function · 0.85
_toConsumableArrayFunction · 0.85
createHookFunction · 0.70

Tested by

no test coverage detected