mangos 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/css/views.show.css +5 -0
- data/app/js/app.js +11 -0
- data/bin/mangos +0 -1
- data/lib/mangos/version.rb +1 -1
- metadata +2 -2
data/app/css/views.show.css
CHANGED
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
data/lib/mangos/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2013-10-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|