peek 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -52,3 +52,7 @@
52
52
 
53
53
  - Don't trigger `peek:update` event when the peek bar isn't present - [#37](https://github.com/peek/peek/issues/37) [@dewski](https://github.com/dewski)
54
54
  - Add `after_request` helper method for Peek::Views::View to help reset state
55
+
56
+ # 0.1.6
57
+
58
+ - Use `event.which` for normalization between `event.keyCode` and `event.charCode` - [#38](https://github.com/peek/peek/pull/38) [@leongersing](https://github.com/leongersing)
@@ -28,7 +28,7 @@ initializeTipsy = ->
28
28
  toggleBar = (event) ->
29
29
  return if $(event.target).is ':input'
30
30
 
31
- if event.keyCode == 96 && !event.metaKey
31
+ if event.which == 96 && !event.metaKey
32
32
  wrapper = $('#peek')
33
33
  if wrapper.hasClass 'disabled'
34
34
  wrapper.removeClass 'disabled'
data/lib/peek/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Peek
2
- VERSION = '0.1.5'
2
+ VERSION = '0.1.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peek
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
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-07-02 00:00:00.000000000 Z
12
+ date: 2013-08-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -127,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  segments:
129
129
  - 0
130
- hash: -1057251340179445027
130
+ hash: 3224579627343507351
131
131
  required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  none: false
133
133
  requirements:
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  segments:
138
138
  - 0
139
- hash: -1057251340179445027
139
+ hash: 3224579627343507351
140
140
  requirements: []
141
141
  rubyforge_project:
142
142
  rubygems_version: 1.8.23