Skip to content

Commit

Permalink
release 3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Wong Ho Chi Mark committed Oct 26, 2015
1 parent bc3fdaa commit 30ae7ea
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-slick-carousel",
"version": "3.1.0",
"version": "3.1.1",
"homepage": "https://github.com/devmark/angular-slick-carousel",
"authors": [
"DevMark <[email protected]>"
Expand Down
11 changes: 6 additions & 5 deletions dist/angular-slick.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* angular-slick-carousel
* DevMark <[email protected]>
* https://github.com/devmark/angular-slick-carousel
* Version: 3.0.11 - 2015-09-25T12:36:39.625Z
* Version: 3.1.1 - 2015-10-26T14:22:13.640Z
* License: MIT
*/

Expand Down Expand Up @@ -90,7 +90,7 @@ angular
centerPadding: scope.centerPadding || '50px',
cssEase: scope.cssEase || 'ease',
customPaging: attr.customPaging ? customPaging : void 0,
dots: scope.dots === 'true',
dots: attr.dots || scope.dots === 'true',
draggable: scope.draggable !== 'false',
fade: scope.fade === 'true',
focusOnSelect: scope.focusOnSelect === 'true',
Expand All @@ -105,7 +105,7 @@ angular
respondTo: scope.respondTo != null ? scope.respondTo : 'window',
responsive: scope.responsive || void 0,
rows: scope.rows != null ? parseInt(scope.rows, 10) : 1,
slide: scope.slide || 'div',
slide: scope.slide || '',
slidesPerRow: scope.slidesPerRow != null ? parseInt(scope.slidesPerRow, 10) : 1,
slidesToShow: scope.slidesToShow != null ? parseInt(scope.slidesToShow, 10) : 1,
slidesToScroll: scope.slidesToScroll != null ? parseInt(scope.slidesToScroll, 10) : 1,
Expand Down Expand Up @@ -152,8 +152,9 @@ angular
return slick.slideHandler(currentIndex);
}
});

slickness.slick(options);
$timeout(function() {
slickness.slick(options);
});
}

scope.internalControl = options.method || {};
Expand Down
4 changes: 2 additions & 2 deletions dist/angular-slick.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions examples/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ angular.module('slickExampleApp', ['slickCarousel', 'ngRoute'])
};
$scope.slickCurrentIndex = 0;
$scope.slickConfig = {
dots: true,
autoplay: true,
initialSlide: 3,
infinite: true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-slick-carousel",
"version": "3.1.0",
"version": "3.1.1",
"main": "dist/angular-slick.js",
"repository": {
"type": "git",
Expand Down

0 comments on commit 30ae7ea

Please sign in to comment.