GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — opencode/patches/[email protected] at dev · drpr/opencode 152 lines (152 loc) · 5.21 KB Copy path File metadata and controls152 lines (152 loc) · 5.21 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 diff --git a/dist/dev.cjs b/dist/dev.cjs --- a/dist/dev.cjs +++ b/dist/dev.cjs @@ -1009,18 +1009,21 @@ function cleanNode(node) { } } if (node.tOwned) { - for (i = node.tOwned.length - 1; i >= 0; i--) cleanNode(node.tOwned[i]); + const tOwned = node.tOwned; delete node.tOwned; + for (i = tOwned.length - 1; i >= 0; i--) cleanNode(tOwned[i]); } if (Transition && Transition.running && node.pure) { reset(node, true); } else if (node.owned) { - for (i = node.owned.length - 1; i >= 0; i--) cleanNode(node.owned[i]); + const owned = node.owned; node.owned = null; + for (i = owned.length - 1; i >= 0; i--) cleanNode(owned[i]); } if (node.cleanups) { - for (i = node.cleanups.length - 1; i >= 0; i--) node.cleanups[i](); + const cleanups = node.cleanups; node.cleanups = null; + for (i = cleanups.length - 1; i >= 0; i--) cleanups[i](); } if (Transition && Transition.running) node.tState = 0;else node.state = 0; delete node.sourceMap; diff --git a/dist/dev.js b/dist/dev.js --- a/dist/dev.js +++ b/dist/dev.js @@ -1007,18 +1007,21 @@ function cleanNode(node) { } } if (node.tOwned) { - for (i = node.tOwned.length - 1; i >= 0; i--) cleanNode(node.tOwned[i]); + const tOwned = node.tOwned; delete node.tOwned; + for (i = tOwned.length - 1; i >= 0; i--) cleanNode(tOwned[i]); } if (Transition && Transition.running && node.pure) { reset(node, true); } else if (node.owned) { - for (i = node.owned.length - 1; i >= 0; i--) cleanNode(node.owned[i]); + const owned = node.owned; node.owned = null; + for (i = owned.length - 1; i >= 0; i--) cleanNode(owned[i]); } if (node.cleanups) { - for (i = node.cleanups.length - 1; i >= 0; i--) node.cleanups[i](); + const cleanups = node.cleanups; node.cleanups = null; + for (i = cleanups.length - 1; i >= 0; i--) cleanups[i](); } if (Transition && Transition.running) node.tState = 0;else node.state = 0; delete node.sourceMap; diff --git a/dist/server.cjs b/dist/server.cjs --- a/dist/server.cjs +++ b/dist/server.cjs @@ -127,12 +127,14 @@ function onCleanup(fn) { } function cleanNode(node) { if (node.owned) { - for (let i = 0; i < node.owned.length; i++) cleanNode(node.owned[i]); + const owned = node.owned; node.owned = null; + for (let i = 0; i < owned.length; i++) cleanNode(owned[i]); } if (node.cleanups) { - for (let i = 0; i < node.cleanups.length; i++) node.cleanups[i](); + const cleanups = node.cleanups; node.cleanups = null; + for (let i = 0; i < cleanups.length; i++) cleanups[i](); } } function catchError(fn, handler) { diff --git a/dist/server.js b/dist/server.js --- a/dist/server.js +++ b/dist/server.js @@ -125,12 +125,14 @@ function onCleanup(fn) { } function cleanNode(node) { if (node.owned) { - for (let i = 0; i < node.owned.length; i++) cleanNode(node.owned[i]); + const owned = node.owned; node.owned = null; + for (let i = 0; i < owned.length; i++) cleanNode(owned[i]); } if (node.cleanups) { - for (let i = 0; i < node.cleanups.length; i++) node.cleanups[i](); + const cleanups = node.cleanups; node.cleanups = null; + for (let i = 0; i < cleanups.length; i++) cleanups[i](); } } function catchError(fn, handler) { diff --git a/dist/solid.cjs b/dist/solid.cjs --- a/dist/solid.cjs +++ b/dist/solid.cjs @@ -964,18 +964,21 @@ function cleanNode(node) { } } if (node.tOwned) { - for (i = node.tOwned.length - 1; i >= 0; i--) cleanNode(node.tOwned[i]); + const tOwned = node.tOwned; delete node.tOwned; + for (i = tOwned.length - 1; i >= 0; i--) cleanNode(tOwned[i]); } if (Transition && Transition.running && node.pure) { reset(node, true); } else if (node.owned) { - for (i = node.owned.length - 1; i >= 0; i--) cleanNode(node.owned[i]); + const owned = node.owned; node.owned = null; + for (i = owned.length - 1; i >= 0; i--) cleanNode(owned[i]); } if (node.cleanups) { - for (i = node.cleanups.length - 1; i >= 0; i--) node.cleanups[i](); + const cleanups = node.cleanups; node.cleanups = null; + for (i = cleanups.length - 1; i >= 0; i--) cleanups[i](); } if (Transition && Transition.running) node.tState = 0;else node.state = 0; } diff --git a/dist/solid.js b/dist/solid.js --- a/dist/solid.js +++ b/dist/solid.js @@ -962,18 +962,21 @@ function cleanNode(node) { } } if (node.tOwned) { - for (i = node.tOwned.length - 1; i >= 0; i--) cleanNode(node.tOwned[i]); + const tOwned = node.tOwned; delete node.tOwned; + for (i = tOwned.length - 1; i >= 0; i--) cleanNode(tOwned[i]); } if (Transition && Transition.running && node.pure) { reset(node, true); } else if (node.owned) { - for (i = node.owned.length - 1; i >= 0; i--) cleanNode(node.owned[i]); + const owned = node.owned; node.owned = null; + for (i = owned.length - 1; i >= 0; i--) cleanNode(owned[i]); } if (node.cleanups) { - for (i = node.cleanups.length - 1; i >= 0; i--) node.cleanups[i](); + const cleanups = node.cleanups; node.cleanups = null; + for (i = cleanups.length - 1; i >= 0; i--) cleanups[i](); } if (Transition && Transition.running) node.tState = 0;else node.state = 0; } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |