tdumitrescu / virtual-jade

Compile Jade templates to Hyperscript for Virtual DOM libraries
Other
31 stars 4 forks source link

use reduce instead of for-loop for generated 'each' code #18

Closed tdumitrescu closed 7 years ago

tdumitrescu commented 7 years ago

most importantly to close over value/index at each iteration. will have to think of a way to unit-test this appropriately.

coveralls commented 7 years ago

Coverage Status

Changes Unknown when pulling be184ed0a001b061103a80c388c407ddc082418b on each-reduce into on master.