From e7b810ac060f6f40bc3861d4533ced858f6143b1 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 3 Jun 2013 04:40:55 +0400 Subject: [PATCH] more cleanup and bookkeeping... Signed-off-by: Alex A. Naanou --- ui/TODO.otl | 13 +++++++++---- ui/base.js | 2 ++ ui/keybindings.js | 1 + 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ui/TODO.otl b/ui/TODO.otl index 149db474..1a2157b8 100755 --- a/ui/TODO.otl +++ b/ui/TODO.otl @@ -1,5 +1,5 @@ Roadmap - [_] 40% Pre-Alpha - limited preview + [_] 41% Pre-Alpha - limited preview [_] 31% UI [_] 0% Tablet-specific [_] screen buttons @@ -22,9 +22,12 @@ Roadmap [X] ribbon next/prev [X] screen next/prev [_] marks next/prev - [_] 41% editing - [_] 33% ribbon - [_] merge up/down + [_] 49% editing + [_] 66% ribbon + [X] merge up/down + | via. marking... + | + | still thinking if this is the right way... [_] flatten [X] sort [_] 71% image @@ -195,6 +198,8 @@ Roadmap [_] thresholds and frame size [_] remove extra and repetitive actions [_] caching config + [_] BUG: BASE_URL seems to gain a new trailing '/' on each save... + | low priority as this does not affect anything... [X] reverse ribbons... [X] slideshow mode... [X] default STUB image... diff --git a/ui/base.js b/ui/base.js index 7d947468..4138b555 100755 --- a/ui/base.js +++ b/ui/base.js @@ -60,6 +60,8 @@ function match2(f0, f1){ return a } } + + // Same as match2 but can take an arbitrary number of functions. // XXX test function matchN(){ diff --git a/ui/keybindings.js b/ui/keybindings.js index 80d6fb72..8f9b0764 100755 --- a/ui/keybindings.js +++ b/ui/keybindings.js @@ -26,6 +26,7 @@ function updateDirection(direction){ } } + function directionImage(reverse){ if(DIRECTION == (reverse ? 'prev' : 'next')){ nextImage()