Skip to content

Commit 30ae7ea

Browse files
author
Wong Ho Chi Mark
committed
release 3.1.1
1 parent bc3fdaa commit 30ae7ea

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-slick-carousel",
3-
"version": "3.1.0",
3+
"version": "3.1.1",
44
"homepage": "https://github.com/devmark/angular-slick-carousel",
55
"authors": [
66
"DevMark <[email protected]>"

dist/angular-slick.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* angular-slick-carousel
33
* DevMark <[email protected]>
44
* https://github.com/devmark/angular-slick-carousel
5-
* Version: 3.0.11 - 2015-09-25T12:36:39.625Z
5+
* Version: 3.1.1 - 2015-10-26T14:22:13.640Z
66
* License: MIT
77
*/
88

@@ -90,7 +90,7 @@ angular
9090
centerPadding: scope.centerPadding || '50px',
9191
cssEase: scope.cssEase || 'ease',
9292
customPaging: attr.customPaging ? customPaging : void 0,
93-
dots: scope.dots === 'true',
93+
dots: attr.dots || scope.dots === 'true',
9494
draggable: scope.draggable !== 'false',
9595
fade: scope.fade === 'true',
9696
focusOnSelect: scope.focusOnSelect === 'true',
@@ -105,7 +105,7 @@ angular
105105
respondTo: scope.respondTo != null ? scope.respondTo : 'window',
106106
responsive: scope.responsive || void 0,
107107
rows: scope.rows != null ? parseInt(scope.rows, 10) : 1,
108-
slide: scope.slide || 'div',
108+
slide: scope.slide || '',
109109
slidesPerRow: scope.slidesPerRow != null ? parseInt(scope.slidesPerRow, 10) : 1,
110110
slidesToShow: scope.slidesToShow != null ? parseInt(scope.slidesToShow, 10) : 1,
111111
slidesToScroll: scope.slidesToScroll != null ? parseInt(scope.slidesToScroll, 10) : 1,
@@ -152,8 +152,9 @@ angular
152152
return slick.slideHandler(currentIndex);
153153
}
154154
});
155-
156-
slickness.slick(options);
155+
$timeout(function() {
156+
slickness.slick(options);
157+
});
157158
}
158159

159160
scope.internalControl = options.method || {};

dist/angular-slick.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/js/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ angular.module('slickExampleApp', ['slickCarousel', 'ngRoute'])
3131
};
3232
$scope.slickCurrentIndex = 0;
3333
$scope.slickConfig = {
34+
dots: true,
3435
autoplay: true,
3536
initialSlide: 3,
3637
infinite: true,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-slick-carousel",
3-
"version": "3.1.0",
3+
"version": "3.1.1",
44
"main": "dist/angular-slick.js",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)