jscrollpane-rails 2.0.21 → 2.0.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/jquery.jscrollpane.js +8 -3
- data/lib/jscrollpane-rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd84259317d54de1a62a903e3d13e8083c0e9376
|
4
|
+
data.tar.gz: 26d0979aeb14f787116f0bae9217cbf6b65f5872
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9fc174052ccbc5df94e96f132172e03ca2a48b5ddcda6c9e67b6e53ec2efd85c48764c5a55f4515dc61e890fd87afb0a29c2770dd2febe9194329248ae08f8e
|
7
|
+
data.tar.gz: f23a10a1d7b9e60f7c09b834ffe97a98675363241f6238db3d20b7ccf0b3f3e17bdf3b7462bbc11f861e800ceab43937a6b06bcfb14250ffb033918cf7b5cf71
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* jScrollPane - v2.0.
|
2
|
+
* jScrollPane - v2.0.22 - 2015-04-25
|
3
3
|
* http://jscrollpane.kelvinluck.com/
|
4
4
|
*
|
5
5
|
* Copyright (c) 2014 Kelvin Luck
|
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
// Script: jScrollPane - cross browser customisable scrollbars
|
10
10
|
//
|
11
|
-
// *Version: 2.0.
|
11
|
+
// *Version: 2.0.22, Last updated: 2015-04-25*
|
12
12
|
//
|
13
13
|
// Project Home - http://jscrollpane.kelvinluck.com/
|
14
14
|
// GitHub - http://github.com/vitch/jScrollPane
|
@@ -39,6 +39,7 @@
|
|
39
39
|
//
|
40
40
|
// About: Release History
|
41
41
|
//
|
42
|
+
// 2.0.22 - (2015-04-25) Resolve a memory leak due to an event handler that isn't cleaned up in destroy (thanks @timjnh)
|
42
43
|
// 2.0.21 - (2015-02-24) Simplify UMD pattern: fixes browserify when loading jQuery outside of bundle
|
43
44
|
// 2.0.20 - (2014-10-23) Adds AMD support (thanks @carlosrberto) and support for overflow-x/overflow-y (thanks @darimpulso)
|
44
45
|
// 2.0.19 - (2013-11-16) Changes for more reliable scroll amount with latest mousewheel plugin (thanks @brandonaaron)
|
@@ -937,7 +938,8 @@
|
|
937
938
|
isScrollableV && validParents.push(verticalBar[0]);
|
938
939
|
|
939
940
|
// IE also focuses elements that don't have tabindex set.
|
940
|
-
pane.
|
941
|
+
pane.bind(
|
942
|
+
'focus.jsp',
|
941
943
|
function()
|
942
944
|
{
|
943
945
|
elem.focus();
|
@@ -1036,6 +1038,8 @@
|
|
1036
1038
|
elem.attr('tabindex', '-1')
|
1037
1039
|
.removeAttr('tabindex')
|
1038
1040
|
.unbind('keydown.jsp keypress.jsp');
|
1041
|
+
|
1042
|
+
pane.unbind('.jsp');
|
1039
1043
|
}
|
1040
1044
|
|
1041
1045
|
function observeHash()
|
@@ -1208,6 +1212,7 @@
|
|
1208
1212
|
var currentY = contentPositionY(),
|
1209
1213
|
currentX = contentPositionX();
|
1210
1214
|
elem.removeClass('jspScrollable').unbind('.jsp');
|
1215
|
+
pane.unbind('.jsp');
|
1211
1216
|
elem.replaceWith(originalElement.append(pane.children()));
|
1212
1217
|
originalElement.scrollTop(currentY);
|
1213
1218
|
originalElement.scrollLeft(currentX);
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jscrollpane-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ilya Bodrov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|