mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
minor tweak...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
2f0b80a215
commit
0fe8140fd3
@ -14,6 +14,7 @@ if(typeof(process) != 'undefined'){
|
||||
var fse = requirejs('fs-extra')
|
||||
var pathlib = requirejs('path')
|
||||
var glob = requirejs('glob')
|
||||
var wglob = requirejs('wildglob')
|
||||
|
||||
var file = require('imagegrid/file')
|
||||
}
|
||||
|
||||
@ -244,6 +244,7 @@ module.GLOBAL_KEYBOARD = {
|
||||
|
||||
// navigation...
|
||||
Left: 'prevImage',
|
||||
shift_Space: 'Left',
|
||||
Backspace: 'Left',
|
||||
Right: 'nextImage',
|
||||
Space: 'Right',
|
||||
|
||||
@ -12,7 +12,9 @@ if(typeof(process) != 'undefined'){
|
||||
var events = requirejs('events')
|
||||
|
||||
var fse = requirejs('fs-extra')
|
||||
|
||||
var glob = requirejs('glob')
|
||||
var wglob = requirejs('wildglob')
|
||||
|
||||
var guaranteeEvents = requirejs('guarantee-events')
|
||||
|
||||
@ -89,6 +91,7 @@ module.gGlob = function(){
|
||||
return guaranteeGlobEvents(glob.apply(null, arguments)) }
|
||||
|
||||
|
||||
|
||||
/*********************************************************************/
|
||||
// Reader...
|
||||
|
||||
|
||||
@ -781,6 +781,7 @@ var KeyboardPrototype = {
|
||||
|
||||
handler = modifiers
|
||||
.filter(function(m){
|
||||
console.log('>>>>', handler)
|
||||
return handler.indexOf(m) < 0
|
||||
&& seen.indexOf(m+handler) < 0
|
||||
&& m+handler in bindings })
|
||||
|
||||
@ -22,12 +22,13 @@
|
||||
"fs-walk": "^0.0.1",
|
||||
"glob": "^4.0.6",
|
||||
"guarantee-events": "^1.0.0",
|
||||
"ig-features": "^2.0.0",
|
||||
"ig-actions": "^3.0.0",
|
||||
"ig-features": "^2.0.0",
|
||||
"ig-object": "^1.0.1",
|
||||
"openseadragon": "^2.1.0",
|
||||
"requirejs": "^2.1.23",
|
||||
"sharp": "^0.17.0"
|
||||
"sharp": "^0.17.0",
|
||||
"wildglob": "^0.1.1"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"flickrapi": "^0.3.28"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user