Conversation
| obj.buttonHandler = {}; | ||
|
|
||
| obj.onPress = function onPress(type, callback) { | ||
| this.buttonHandler[type] = callback; |
There was a problem hiding this comment.
ignore everything except Up, Down, Left, and Right
|
The file You hit the error because |
|
@HBehrens this should be ready to review now that I've removed the API from symbols-manual.js and created a module instead. |
|
I don't think we need the three |
| }; | ||
|
|
||
| (function() { | ||
| onPress("back", function() { |
There was a problem hiding this comment.
you put this logic into an anonymous function to not pollute the global namespace but currentText as well as rocky are still globals.
|
@HBehrens Ready for you to take another look. |
Added Buttons example folder
Added Buttons to examples readme.md
Added module folder containing buttons.js
Please let me know if you think the readme on the buttons example is a bit light.