diff options
Diffstat (limited to 'js/tool.js')
| -rw-r--r-- | js/tool.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -9,12 +9,16 @@ var Tool = Model({ tool.el.addEventListener('mousedown', function(e){ tool.focus() }) + tool.el.addEventListener('contextmenu', function(e){ + tool.context(e) + }) if (tool.memorable) { // console.log(tool.name, localStorage.getItem("ascii.tools." + tool.name) ) tool.use( localStorage.getItem("ascii.tools." + tool.name) == "true" ) } }, use: function(){}, + context: function(e){}, done: function(){}, focus: function(){ // focused && focused.blur() |
