mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
minor cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
39afc04751
commit
30176856c7
@ -1,5 +1,6 @@
|
||||
// XXX need a uniform way to address images (filename?)
|
||||
|
||||
// XXX move this into the actual html...
|
||||
$(document).ready(setup);
|
||||
|
||||
|
||||
@ -108,7 +109,6 @@ function loadImages(json){
|
||||
/*************************************************** Event Handlers **/
|
||||
|
||||
function handleImageClick(e) {
|
||||
|
||||
var cur = $(this)
|
||||
|
||||
// switch classes...
|
||||
@ -164,6 +164,7 @@ var keys = {
|
||||
helpShowOnUnknownKey: true
|
||||
}
|
||||
|
||||
// XXX revise...
|
||||
function handleKeys(event){
|
||||
var code = event.keyCode, fn = $.inArray;
|
||||
var _ = (fn(code, keys.closeKeys) >= 0) ? function(){}()
|
||||
@ -293,6 +294,7 @@ function focusBelowRibbon(){
|
||||
|
||||
/********************************************************** Actions **/
|
||||
// basic actions...
|
||||
// NOTE: below 'direction' is meant in the html sence, i.e. next/prev...
|
||||
|
||||
// create ribbon above/below helpers...
|
||||
function createRibbon(direction){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user