mangos 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,11 @@
2
2
  display: none;
3
3
  background-color: #333333;
4
4
  min-height: 100%;
5
+ -webkit-user-select: none;
6
+ -moz-user-select: none;
7
+ -khtml-user-select: none;
8
+ -ms-user-select: none;
9
+ user-select: none;
5
10
  }
6
11
 
7
12
  #view-show img {
data/app/js/app.js CHANGED
@@ -10,6 +10,17 @@ $(function() {
10
10
  utils.page(utils.page() + 1);
11
11
  });
12
12
 
13
+ $(window).keydown(function(event) {
14
+ if(event.keyCode == 39) {
15
+ event.preventDefault();
16
+ utils.page(utils.page() + 1);
17
+ }
18
+ else if(event.keyCode == 8 || event.keyCode == 37) {
19
+ event.preventDefault();
20
+ utils.page(utils.page() - 1);
21
+ }
22
+ });
23
+
13
24
  $.getJSON("data.json").done(function(data) {
14
25
  if(data.length == 0) alert("No data.json, or data invalid.");
15
26
 
data/bin/mangos CHANGED
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "mangos"
4
- require "highline/import"
5
4
 
6
5
  command = ARGV.first || "sync"
7
6
  root_path = Pathname.new(ARGV[1] || ".").realpath
@@ -1,3 +1,3 @@
1
1
  module Mangos
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mangos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-16 00:00:00.000000000 Z
12
+ date: 2013-10-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler