minor edits and todo update...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-01-29 15:44:27 +04:00
parent 50aac2be1f
commit d697e9a8f2
2 changed files with 8 additions and 3 deletions

View File

@ -5,7 +5,7 @@
| touchdown point.
[_] BUG: no drag threshold on excludedElements (TouchSwipe)
| stalled...
[_] 81% general todo
[_] 82% general todo
[_] magazine loader and data format...
| this is simple, just use a restyled magazine viewer...
[_] 0% populate an example issue
@ -19,6 +19,7 @@
| e.g. setting "shown"/"hidden" classes in HTML and adding
| something like a page reset that will restore the default state,
| rather than the current "hideLayers"
[X] SVG icons and logo...
[X] 100% bookmarks
[X] add next/prev bookmark actions
[X] #bookmark anchor

View File

@ -41,7 +41,8 @@ $(document).ready(function(){
$('.viewer')
.swipe({
swipeStatus: swipeHandler,
// XXX change this to pinch...
// XXX these get called instead of pinches...
swipeUp: function(event, direction, distance, duration, fingerCount){
if(fingerCount == 2){
toggleBookmark()
@ -49,7 +50,7 @@ $(document).ready(function(){
togglePageView()
}
},
// XXX change this to pinch...
// XXX these get called instead of pinches...
swipeDown: function(event, direction, distance, duration, fingerCount){
if(fingerCount == 2){
toggleBookmark()
@ -58,6 +59,8 @@ $(document).ready(function(){
}
},
// XXX for some reasons these lose the competition with swipes...
pinchIn: function(event, direction, distance, duration, fingerCount, pinchZoom) {
if(pinchZoom < distance){
return
@ -66,6 +69,7 @@ $(document).ready(function(){
togglePageView('on')
}
},
// XXX for some reasons these lose the competition with swipes...
pinchOut: function(event, direction, distance, duration, fingerCount, pinchZoom) {
if(pinchZoom < distance){
return