Skip to content
Myr

misc refactoring

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 08046f7 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:lib/view.js+1 added-1 removed
135 unmodified lines
136 options.collectionKeys = keys;137 for (var i = 0; i < len; ++i) {138 key = keys[i];139 val = collection[key];140 options.keyInCollection = key;141 options.firstInCollection = i == 0;142 options.indexInCollection = i;142 options.keyInCollection = key;143 options.lastInCollection = i == len - 1;144 object = val;145 buf += render();146 }
269 unmodified lines