fingerpoken 0.2.20101227000817 → 0.2.20110101195735

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,9 +33,11 @@
33
33
  action = request["action"];
34
34
  switch (action) {
35
35
  case "status":
36
- //$("#area").html("<h1 class='status'>" + request["status"] + "</h1>");
37
36
  /* Use eval to do unicode escaping */
38
- $("#area").html("<h1 class='status'>" + eval("\"" + request["status"] + "\"") + "</h1>");
37
+ var status = eval("\"" + request["status"] + "\"");
38
+ var el = $("<h1 class='status'>" + status + "</h1>");
39
+ $("#area").empty().append(el);
40
+ el.delay(500).fadeOut(500, function() { $(this).remove() });
39
41
  break;
40
42
  }
41
43
  };
@@ -258,8 +260,10 @@
258
260
  state.last_click = (new Date()).getTime();
259
261
  }
260
262
  }
261
- state.moving = false;
262
- state.scrolling = false;
263
+ if (touches.length == 0) {
264
+ state.moving = false;
265
+ state.scrolling = false;
266
+ }
263
267
  event.preventDefault();
264
268
  }).bind("touchmove", function(event) { /* $("#touchpadsurface").bind("touchmove" ... */
265
269
  var e = event.originalEvent;
data/views/style.sass CHANGED
@@ -21,7 +21,7 @@ html, body
21
21
 
22
22
  .content
23
23
  h1.status
24
- font-size: 400%
24
+ font-size: 200%
25
25
  color: white
26
26
  .header
27
27
  .footer
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fingerpoken
3
3
  version: !ruby/object:Gem::Version
4
- hash: 40202454001653
4
+ hash: 40220202391481
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 20101227000817
10
- version: 0.2.20101227000817
9
+ - 20110101195735
10
+ version: 0.2.20110101195735
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jordan Sissel
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-27 00:00:00 -08:00
18
+ date: 2011-01-01 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency