Sha256: a6d6748cb47df8654dd88d764a0d2ce3b9fd226ebe1097f9437e3cd8440f5a01

Contents?: true

Size: 154 Bytes

Versions: 37

Compression:

Stored size: 154 Bytes

Contents

goToPage = (path) ->
    window.location.assign('/book/' + path) if path?

key 'right', -> goToPage($next_path)
key 'left',  -> goToPage($previous_path)

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
epuber-0.11.1 lib/epuber/server/keyboard_control.coffee
epuber-0.11.0 lib/epuber/server/keyboard_control.coffee
epuber-0.10.3 lib/epuber/server/keyboard_control.coffee
epuber-0.10.2 lib/epuber/server/keyboard_control.coffee
epuber-0.10.1 lib/epuber/server/keyboard_control.coffee
epuber-0.9.3 lib/epuber/server/keyboard_control.coffee
epuber-0.9.2 lib/epuber/server/keyboard_control.coffee
epuber-0.9.1 lib/epuber/server/keyboard_control.coffee
epuber-0.9.0 lib/epuber/server/keyboard_control.coffee
epuber-0.8.0 lib/epuber/server/keyboard_control.coffee
epuber-0.7.4 lib/epuber/server/keyboard_control.coffee
epuber-0.7.3 lib/epuber/server/keyboard_control.coffee
epuber-0.7.2 lib/epuber/server/keyboard_control.coffee
epuber-0.7.1 lib/epuber/server/keyboard_control.coffee
epuber-0.7.0 lib/epuber/server/keyboard_control.coffee
epuber-0.6.0 lib/epuber/server/keyboard_control.coffee
epuber-0.5.7 lib/epuber/server/keyboard_control.coffee
epuber-0.5.6 lib/epuber/server/keyboard_control.coffee
epuber-0.5.5 lib/epuber/server/keyboard_control.coffee
epuber-0.5.4 lib/epuber/server/keyboard_control.coffee