Merge pull request #1 from demands/readme_fix

Re-render screen after clicking on example box in README
This commit is contained in:
Christopher Jeffrey 2013-06-30 10:35:26 -07:00
commit 1a62484509
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ screen.append(box);
box.on('click', function(data) {
box.setContent('{center}Some different {red-fg}content{/red-fg}.{/center}');
screen.render();
});
screen.on('keypress', function(ch, key) {