/app/components/ListComponent.io
http://github.com/pgregory/blackpool · Unknown · 16 lines · 13 code · 3 blank · 0 comment · 0 complexity · cc438841e3317c0b6a0a310ccddacaaa MD5 · raw file
- ListComponent := Object clone do(
- init := method(
- items ::= List clone
- filterBlock ::= block(items, items)
- )
- renderOn := method(html,
- html table with(
- filterBlock call(items) foreach(i,
- renderItem(i, html)
- )
- )
- )
- )