minor tweak...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-02-07 18:58:37 +03:00
parent 2f0b80a215
commit 0fe8140fd3
5 changed files with 9 additions and 2 deletions

View File

@ -14,6 +14,7 @@ if(typeof(process) != 'undefined'){
var fse = requirejs('fs-extra') var fse = requirejs('fs-extra')
var pathlib = requirejs('path') var pathlib = requirejs('path')
var glob = requirejs('glob') var glob = requirejs('glob')
var wglob = requirejs('wildglob')
var file = require('imagegrid/file') var file = require('imagegrid/file')
} }

View File

@ -244,6 +244,7 @@ module.GLOBAL_KEYBOARD = {
// navigation... // navigation...
Left: 'prevImage', Left: 'prevImage',
shift_Space: 'Left',
Backspace: 'Left', Backspace: 'Left',
Right: 'nextImage', Right: 'nextImage',
Space: 'Right', Space: 'Right',

View File

@ -12,7 +12,9 @@ if(typeof(process) != 'undefined'){
var events = requirejs('events') var events = requirejs('events')
var fse = requirejs('fs-extra') var fse = requirejs('fs-extra')
var glob = requirejs('glob') var glob = requirejs('glob')
var wglob = requirejs('wildglob')
var guaranteeEvents = requirejs('guarantee-events') var guaranteeEvents = requirejs('guarantee-events')
@ -89,6 +91,7 @@ module.gGlob = function(){
return guaranteeGlobEvents(glob.apply(null, arguments)) } return guaranteeGlobEvents(glob.apply(null, arguments)) }
/*********************************************************************/ /*********************************************************************/
// Reader... // Reader...

View File

@ -781,6 +781,7 @@ var KeyboardPrototype = {
handler = modifiers handler = modifiers
.filter(function(m){ .filter(function(m){
console.log('>>>>', handler)
return handler.indexOf(m) < 0 return handler.indexOf(m) < 0
&& seen.indexOf(m+handler) < 0 && seen.indexOf(m+handler) < 0
&& m+handler in bindings }) && m+handler in bindings })

View File

@ -22,12 +22,13 @@
"fs-walk": "^0.0.1", "fs-walk": "^0.0.1",
"glob": "^4.0.6", "glob": "^4.0.6",
"guarantee-events": "^1.0.0", "guarantee-events": "^1.0.0",
"ig-features": "^2.0.0",
"ig-actions": "^3.0.0", "ig-actions": "^3.0.0",
"ig-features": "^2.0.0",
"ig-object": "^1.0.1", "ig-object": "^1.0.1",
"openseadragon": "^2.1.0", "openseadragon": "^2.1.0",
"requirejs": "^2.1.23", "requirejs": "^2.1.23",
"sharp": "^0.17.0" "sharp": "^0.17.0",
"wildglob": "^0.1.1"
}, },
"optionalDependencies": { "optionalDependencies": {
"flickrapi": "^0.3.28" "flickrapi": "^0.3.28"