jquery-slick-rails 1.3.14 → 1.3.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jquery-slick-rails/version.rb +1 -1
- data/vendor/assets/javascripts/jquery.slick.js +8 -8
- 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: fe395f95e605e91d5e13b6cde6321eaef767838b
|
4
|
+
data.tar.gz: 7699f18792f2748ca037adaa12d4da453302fc05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4617e0addb6293a18a820f6ee41959ec9ee3234c5d2c149c259f32416f17c097e643e43856e2493e84e1ebdaff69a4d8f09d214f9d8fe6400223181c1ff0fc7
|
7
|
+
data.tar.gz: 11c05fd5fb468a76bdd201fc429446d7049da0d2d421f32b9a8a605e41d9eda5f496bd0896c16b58bf25d17c2540c8e4904052a2c7b1044fe8b9464992e24167
|
@@ -6,7 +6,7 @@
|
|
6
6
|
|___/_|_|\___|_|\_(_)/ |___/
|
7
7
|
|__/
|
8
8
|
|
9
|
-
Version: 1.3.
|
9
|
+
Version: 1.3.15
|
10
10
|
Author: Ken Wheeler
|
11
11
|
Website: http://kenwheeler.github.io
|
12
12
|
Docs: http://kenwheeler.github.io/slick
|
@@ -268,11 +268,11 @@
|
|
268
268
|
step: function(now) {
|
269
269
|
if (_.options.vertical === false) {
|
270
270
|
animProps[_.animType] = 'translate(' +
|
271
|
-
|
271
|
+
now + 'px, 0px)';
|
272
272
|
_.$slideTrack.css(animProps);
|
273
273
|
} else {
|
274
274
|
animProps[_.animType] = 'translate(0px,' +
|
275
|
-
|
275
|
+
now + 'px)';
|
276
276
|
_.$slideTrack.css(animProps);
|
277
277
|
}
|
278
278
|
},
|
@@ -447,7 +447,7 @@
|
|
447
447
|
var _ = this;
|
448
448
|
|
449
449
|
_.$slides = _.$slider.children(_.options.slide +
|
450
|
-
|
450
|
+
':not(.slick-cloned)').addClass(
|
451
451
|
'slick-slide');
|
452
452
|
_.slideCount = _.$slides.length;
|
453
453
|
|
@@ -508,7 +508,7 @@
|
|
508
508
|
}
|
509
509
|
|
510
510
|
if (_.originalSettings.responsive && _.originalSettings
|
511
|
-
|
511
|
+
.responsive.length > -1 && _.originalSettings.responsive !== null) {
|
512
512
|
|
513
513
|
targetBreakpoint = null;
|
514
514
|
|
@@ -579,11 +579,11 @@
|
|
579
579
|
|
580
580
|
case 'index':
|
581
581
|
var index = event.data.index === 0 ? 0 :
|
582
|
-
|
582
|
+
event.data.index || $(event.target).parent().index() * _.options.slidesToScroll;
|
583
583
|
|
584
584
|
navigables = _.getNavigableIndexes();
|
585
585
|
prevNavigable = 0;
|
586
|
-
if(navigables
|
586
|
+
if(navigables[index] && navigables[index] === index) {
|
587
587
|
if(index > navigables[navigables.length -1]){
|
588
588
|
index = navigables[navigables.length -1];
|
589
589
|
} else {
|
@@ -1539,7 +1539,7 @@
|
|
1539
1539
|
}
|
1540
1540
|
|
1541
1541
|
for (i = _.slideCount; i > (_.slideCount -
|
1542
|
-
|
1542
|
+
infiniteCount); i -= 1) {
|
1543
1543
|
slideIndex = i - 1;
|
1544
1544
|
$(_.$slides[slideIndex]).clone(true).attr('id', '')
|
1545
1545
|
.attr('index', slideIndex-_.slideCount)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-slick-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ilya Bodrov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|