Skip to content
Myr

Added view test for magic locals

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 a32c7d5 · Browse files · 2 files+18 added−0 removed
This commit

State

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

Diff stats

2 files+18 added−0 removed

  • tests:+18 added−0 removed

2 files+18 added−0 removed

added:test/fixtures/partials/magic.jade+6 added
1- if (firstInCollection)2 li.first= word3- else if (lastInCollection)4 li.last= word5- else6 li(class: 'word-' + indexInCollection)= word
modified:test/view.test.js+12 added