found and seem to have fixed a fantom bug)))

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-02-10 02:19:19 +03:00
parent 8c53b856d0
commit 10738a754b
2 changed files with 9 additions and 5 deletions

View File

@ -781,10 +781,10 @@ var KeyboardPrototype = {
handler = modifiers handler = modifiers
.filter(function(m){ .filter(function(m){
console.log('>>>>', handler) return handler instanceof Function
return handler.indexOf(m) < 0 || (handler.indexOf(m) < 0
&& seen.indexOf(m+handler) < 0 && seen.indexOf(m+handler) < 0
&& m+handler in bindings }) && m+handler in bindings) })
.map(function(m){ return m+handler })[0] .map(function(m){ return m+handler })[0]
|| handler || handler

View File

@ -1592,13 +1592,17 @@ var BrowserPrototype = {
'#8': 'push!: "7!"', '#8': 'push!: "7!"',
'#9': 'push!: "8!"', '#9': 'push!: "8!"',
'#0': 'push!: "9!"', '#0': 'push!: "9!"',
// handlers for standard shortcuts...
ctrl_C: function(){ console.log('!!!!!') },
}, },
ItemShortcuts: { ItemShortcuts: {
doc: 'Item shortcuts', doc: 'Item shortcuts',
pattern: '*', pattern: '*',
}, },
}, },