will_pickdate 0.9.2 → 0.9.3

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.
@@ -487,9 +487,13 @@
487
487
  keyWrapper: function(f, event) {
488
488
  dy = 0;
489
489
  if(event.which == 38) {
490
+ //up arrow
490
491
  dy = 1;
491
- } else if (event.which = 40) {
492
+ } else if (event.which == 40) {
493
+ //down arrow
492
494
  dy = -1;
495
+ } else if (48 <= event.which <= 57) {
496
+ event.target.value = (event.target.value + String.fromCharCode(event.which)).substr(1,2)
493
497
  }
494
498
  $.proxy(f, this)(event, null, null, dy);
495
499
  },
@@ -1,3 +1,3 @@
1
1
  module WillPickdate
2
- VERSION = "0.9.2"
2
+ VERSION = "0.9.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: will_pickdate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
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-04-08 00:00:00.000000000 Z
12
+ date: 2013-04-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake