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