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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 71a7df851aafb6e92c1c4fee25fc46283ea598a7
4
- data.tar.gz: 0cd2a74adad37995d39316883733a53749f53e39
3
+ metadata.gz: fe395f95e605e91d5e13b6cde6321eaef767838b
4
+ data.tar.gz: 7699f18792f2748ca037adaa12d4da453302fc05
5
5
  SHA512:
6
- metadata.gz: 295f75a98638e5338f105baa720b4828998aca0a75a27b1140b9df9bd34fe4e903f00f994b7aea884ca0decad0f47cb6e4d21ac327d62364fc012f27791ec4fc
7
- data.tar.gz: d46ee6eea68b798cdb95599ecb4bd9cdf2558f559d85a3181a013435aa2f97ad144a97a4a7521deef6c16741534c54fc5b5c0920c8b0f5d6599003935864e60c
6
+ metadata.gz: c4617e0addb6293a18a820f6ee41959ec9ee3234c5d2c149c259f32416f17c097e643e43856e2493e84e1ebdaff69a4d8f09d214f9d8fe6400223181c1ff0fc7
7
+ data.tar.gz: 11c05fd5fb468a76bdd201fc429446d7049da0d2d421f32b9a8a605e41d9eda5f496bd0896c16b58bf25d17c2540c8e4904052a2c7b1044fe8b9464992e24167
@@ -1,3 +1,3 @@
1
1
  module JquerySlickRails
2
- VERSION = "1.3.14"
2
+ VERSION = "1.3.15"
3
3
  end
@@ -6,7 +6,7 @@
6
6
  |___/_|_|\___|_|\_(_)/ |___/
7
7
  |__/
8
8
 
9
- Version: 1.3.14
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
- now + 'px, 0px)';
271
+ now + 'px, 0px)';
272
272
  _.$slideTrack.css(animProps);
273
273
  } else {
274
274
  animProps[_.animType] = 'translate(0px,' +
275
- now + 'px)';
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
- ':not(.slick-cloned)').addClass(
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
- .responsive.length > -1 && _.originalSettings.responsive !== null) {
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
- event.data.index || $(event.target).parent().index() * _.options.slidesToScroll;
582
+ event.data.index || $(event.target).parent().index() * _.options.slidesToScroll;
583
583
 
584
584
  navigables = _.getNavigableIndexes();
585
585
  prevNavigable = 0;
586
- if(navigables.indexOf(index) === -1) {
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
- infiniteCount); i -= 1) {
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.14
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 00:00:00.000000000 Z
11
+ date: 2014-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties