(info, entry)
| 67 | }; |
| 68 | |
| 69 | const createHook = (info, entry) => augmentor(function () { |
| 70 | const hole = entry.fn.apply(null, arguments); |
| 71 | if (hole instanceof Hole) { |
| 72 | unrollHole(info, hole); |
| 73 | updateEntry(entry, view(entry, hole)); |
| 74 | } |
| 75 | else |
| 76 | updateEntry(entry, hole); |
| 77 | try { return entry.node; } |
| 78 | finally { |
| 79 | if (update) { |
| 80 | update = false; |
| 81 | let p = info; |
| 82 | while (p.p) |
| 83 | p = p.p; |
| 84 | render(p.w, p.W); |
| 85 | } |
| 86 | } |
| 87 | }); |
| 88 | |
| 89 | const createCache = p => ({p, stack: [], entry: null}); |
| 90 |
no test coverage detected