I hereby claim:
- I am thomaslomas on github.
- I am tomlom (https://keybase.io/tomlom) on keybase.
- I have a public key ASA2vgUjDaS_nYhzC24auHZY7ZZ_BeNhIp0ItBwrlixwmwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| ////////// Helpers for in-place editing ////////// | |
| // Returns an event_map key for attaching "ok/cancel" events to | |
| // a text input (given by selector) | |
| var okcancel_events = function (selector) { | |
| return 'keyup '+selector+', keydown '+selector+', focusout '+selector; | |
| }; | |
| // Creates an event handler for interpreting "escape", "return", and "blur" | |
| // on a text field and calling "ok" or "cancel" callbacks. |