Skip to content

Commit

Permalink
1.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
kenwheeler committed Jul 11, 2015
1 parent a34b90e commit bdcc639
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 19 deletions.
6 changes: 3 additions & 3 deletions README.markdown
Expand Up @@ -16,16 +16,16 @@ CDN hosted slick is a great way to get set up quick:
In your ```<head>``` add:

````
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/jquery.slick/1.5.5/slick.css"/>
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/jquery.slick/1.5.6/slick.css"/>
// Add the slick-theme.css if you want default styling
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/jquery.slick/1.5.5/slick-theme.css"/>
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/jquery.slick/1.5.6/slick-theme.css"/>
````

Then, before your closing ```<body>``` tag add:

```
<script type="text/javascript" src="//cdn.jsdelivr.net/jquery.slick/1.5.5/slick.min.js"></script>
<script type="text/javascript" src="//cdn.jsdelivr.net/jquery.slick/1.5.6/slick.min.js"></script>
```

#### Package Managers
Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,7 +1,7 @@
{
"name": "slick-carousel",
"main": ["slick/slick.min.js", "slick/slick.css", "slick/slick-theme.css", "slick/fonts/*"],
"version": "1.5.5",
"version": "1.5.6",
"homepage": "https://github.com/kenwheeler/slick",
"authors": [
"Ken Wheeler <ken_wheeler@me.com>"
Expand Down
2 changes: 1 addition & 1 deletion component.json
Expand Up @@ -2,7 +2,7 @@
"name": "slick",
"repo": "kenwheeler/slick",
"description": "the last carousel you'll ever need",
"version": "1.5.5",
"version": "1.5.6",
"keywords": ["ui", "jquery", "carousel", "responsive", "slider"],
"dependencies": {
"component/jquery": "*"
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "slick-carousel",
"version": "1.5.5",
"version": "1.5.6",
"description": "the last carousel you'll ever need",
"main": "slick/slick.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion slick.jquery.json
Expand Up @@ -9,7 +9,7 @@
"touch",
"mobile"
],
"version": "1.5.5",
"version": "1.5.6",
"author": {
"name": "Ken Wheeler",
"url": "http://kenwheeler.github.io"
Expand Down
3 changes: 3 additions & 0 deletions slick/slick.css
Expand Up @@ -113,4 +113,7 @@
height: auto;

border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
display: none;
}
18 changes: 9 additions & 9 deletions slick/slick.js
Expand Up @@ -6,7 +6,7 @@
|___/_|_|\___|_|\_(_)/ |___/
|__/
Version: 1.5.5
Version: 1.5.6
Author: Ken Wheeler
Website: http://kenwheeler.github.io
Docs: http://kenwheeler.github.io/slick
Expand Down Expand Up @@ -423,7 +423,7 @@

_.$prevArrow = $(_.options.prevArrow).addClass('slick-arrow');
_.$nextArrow = $(_.options.nextArrow).addClass('slick-arrow');

if( _.slideCount > _.options.slidesToShow ) {

_.$prevArrow.removeClass('slick-hidden').removeAttr('aria-hidden tabindex');
Expand Down Expand Up @@ -487,7 +487,7 @@

var _ = this;

_.$slides =
_.$slides =
_.$slider
.children( _.options.slide + ':not(.slick-cloned)')
.addClass('slick-slide');
Expand Down Expand Up @@ -590,8 +590,8 @@
respondToWidth = Math.min(windowWidth, sliderWidth);
}

if ( _.options.responsive &&
_.options.responsive.length &&
if ( _.options.responsive &&
_.options.responsive.length &&
_.options.responsive !== null) {

targetBreakpoint = null;
Expand Down Expand Up @@ -1188,7 +1188,7 @@
if (creation) {
_.$slider.trigger('init', [_]);
}

if (_.options.accessibility === true) {
_.initADA();
}
Expand Down Expand Up @@ -1612,7 +1612,7 @@
_.setPosition();

_.$slider.trigger('reInit', [_]);

if (_.options.autoplay === true) {
_.focusHandler();
}
Expand Down Expand Up @@ -2485,8 +2485,8 @@

centerOffset = Math.floor(_.options.slidesToShow / 2);

if ( _.options.arrows === true &&
_.slideCount > _.options.slidesToShow &&
if ( _.options.arrows === true &&
_.slideCount > _.options.slidesToShow &&
!_.options.infinite ) {

_.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');
Expand Down
6 changes: 3 additions & 3 deletions slick/slick.min.js

Large diffs are not rendered by default.

0 comments on commit bdcc639

Please sign in to comment.