jquery_mousewheel_rails 3.1.11.3 → 3.1.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 114736ae4aeedf062255f65011ca399e1774d32b
4
- data.tar.gz: 19373450b40f98b04b3f3c403526d34ef50eba87
3
+ metadata.gz: 4d5b94c8c9b6c0fcd4fc1caeb1195c51d451b877
4
+ data.tar.gz: 6ac7ebec81cf9ced2994e77a8293cc7b94fe6c4c
5
5
  SHA512:
6
- metadata.gz: 8e59d3560627465a8de955c41ea4313eb712cd900b2a8e9e593ead863c534bfc8830336b0e8e9499c6a2213d38896a7aeeb70c7863d5e3e48e99cd9bf058bff6
7
- data.tar.gz: b466bc57303a6196f4d3e595d4284874e1451e551322152e5e440f6cce571052f9bb6dad3045e043bdb9421c395ddf262646ceed4eea82db3fec1abf2fd66bc7
6
+ metadata.gz: 49c447b59e264a24b5dfb8e666ef0b7ef6170528f6c4ad2584af54984a539c655f1aee1368da8a76fb899844975c2a6af148949bc4ff328434324bfad7dc3def
7
+ data.tar.gz: bc62d09e4f39c96627e7929ec1c091b20cc976c7d4cc9dc11c42879ab96b970f3eab659dfb34335cc5d8521067958f9e4f565e698dffe08d6f9873fbeb680229
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # JqueryMousewheelRails
2
2
 
3
3
  Rails asset-pipeline compatible gem wrapper for jQuery-Mousewheel.js
4
+ see more info on https://github.com/brandonaaron/jquery-mousewheel
4
5
  ## Installation
5
6
 
6
7
  Add this line to your application's Gemfile:
@@ -21,7 +22,7 @@ add this to application.js manifest
21
22
 
22
23
  //= require jquery-mousewheel
23
24
 
24
-
25
+
25
26
  ## Contributing
26
27
 
27
28
  1. Fork it ( https://github.com/[my-github-username]/jquery-mousewheel_rails/fork )
@@ -1,7 +1,7 @@
1
1
  /*! Copyright (c) 2013 Brandon Aaron (http://brandon.aaron.sh)
2
2
  * Licensed under the MIT License (LICENSE.txt).
3
3
  *
4
- * Version: 3.1.11
4
+ * Version: 3.1.12
5
5
  *
6
6
  * Requires: jQuery 1.2.2+
7
7
  */
@@ -32,7 +32,7 @@
32
32
  }
33
33
 
34
34
  var special = $.event.special.mousewheel = {
35
- version: '3.1.11',
35
+ version: '3.1.12',
36
36
 
37
37
  setup: function() {
38
38
  if ( this.addEventListener ) {
@@ -61,11 +61,12 @@
61
61
  },
62
62
 
63
63
  getLineHeight: function(elem) {
64
- var $parent = $(elem)['offsetParent' in $.fn ? 'offsetParent' : 'parent']();
64
+ var $elem = $(elem),
65
+ $parent = $elem['offsetParent' in $.fn ? 'offsetParent' : 'parent']();
65
66
  if (!$parent.length) {
66
67
  $parent = $('body');
67
68
  }
68
- return parseInt($parent.css('fontSize'), 10);
69
+ return parseInt($parent.css('fontSize'), 10) || parseInt($elem.css('fontSize'), 10) || 16;
69
70
  },
70
71
 
71
72
  getPageHeight: function(elem) {
@@ -1,3 +1,3 @@
1
1
  module JqueryMousewheelRails
2
- VERSION = "3.1.11.3"
2
+ VERSION = "3.1.12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery_mousewheel_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.11.3
4
+ version: 3.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guy Israeli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-10 00:00:00.000000000 Z
11
+ date: 2014-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler