lo-th / uil

simple javascript ui
http://lo-th.github.io/uil/
MIT License
555 stars 50 forks source link

slight readme.md typo to make things work #11

Closed skaparelos closed 7 years ago

skaparelos commented 7 years ago

If you copy-paste the code in step2 in the readme.md it crashes because in this line item1, item2 are undefined. ui.add('list', { name:'List', callback:callback, list:[item1, item2, ...]}); quick fix: (notice the quotes in item1, item2, etc..) ui.add('list', { name:'List', callback:callback, list:['item1', 'item2', '...']});

good job with uil

lo-th commented 7 years ago

yep thank's