Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/scripts/app.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ angular.module('slick', [])
onReInit: "&"
onSetPosition: "&"
pauseOnHover: "@"
pauseOnFocus: "@"
pauseOnDotsHover: "@"
responsive: "="
rtl: "@"
Expand Down Expand Up @@ -92,6 +93,7 @@ angular.module('slick', [])
onReInit: if attrs.onReInit then scope.onReInit else undefined
onSetPosition: if attrs.onSetPosition then scope.onSetPosition else undefined
pauseOnHover: scope.pauseOnHover isnt "false"
pauseOnFocus: scope.pauseOnFocus isnt "false"
responsive: scope.responsive or undefined
rtl: scope.rtl is "true"
slide: scope.slide or "div"
Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-slick",
"version": "0.2.1",
"version": "0.2.2",
"main": "dist/slick.js",
"ignore": [
"app",
Expand All @@ -20,7 +20,7 @@
],
"dependencies": {
"angular": "~1.3.0",
"slick-carousel": "~1.4.1"
"slick-carousel": "https://github.com/selectedpixel/slick.git"
},
"author": {
"name": "Vasyl Stanislavchuk"
Expand Down
2 changes: 2 additions & 0 deletions dist/slick.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ angular.module('slick', []).directive('slick', [
onReInit: '&',
onSetPosition: '&',
pauseOnHover: '@',
pauseOnFocus: '@',
pauseOnDotsHover: '@',
responsive: '=',
rtl: '@',
Expand Down Expand Up @@ -100,6 +101,7 @@ angular.module('slick', []).directive('slick', [
onReInit: attrs.onReInit ? scope.onReInit : void 0,
onSetPosition: attrs.onSetPosition ? scope.onSetPosition : void 0,
pauseOnHover: scope.pauseOnHover !== 'false',
pauseOnFocus: scope.pauseOnFocus !== 'false',
responsive: scope.responsive || void 0,
rtl: scope.rtl === 'true',
slide: scope.slide || 'div',
Expand Down
4 changes: 2 additions & 2 deletions dist/slick.min.js

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