Skip to content

Commit 32d16df

Browse files
author
Mark
committed
fix bugs
1 parent dc23ea4 commit 32d16df

File tree

5 files changed

+7
-9
lines changed

5 files changed

+7
-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.6",
3+
"version": "3.1.7",
44
"homepage": "https://github.com/devmark/angular-slick-carousel",
55
"authors": [
66
"DevMark <[email protected]>"

dist/angular-slick.js

Lines changed: 2 additions & 4 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.1.6 - 2016-07-22T13:43:55.973Z
5+
* Version: 3.1.7 - 2016-08-04T06:14:14.291Z
66
* License: MIT
77
*/
88

@@ -261,9 +261,7 @@ angular
261261
});
262262
}
263263
if (typeof options.event.lazyLoaded !== 'undefined') {
264-
265264
slickness.on('lazyLoaded', function (event, slick, image, imageSource) {
266-
console.log('=lazyLoadedlazyLoadedlazyLoaded');
267265
$timeout(function () {
268266
scope.$apply(function () {
269267
options.event.lazyLoaded(event, slick, image, imageSource);
@@ -292,7 +290,7 @@ angular
292290
});
293291

294292
return scope.$watch('settings', function (newVal, oldVal) {
295-
if (typeof newVal !== 'undefined' && newVal !== null) {
293+
if (newVal !== null) {
296294
return destroyAndInit();
297295
}
298296
}, true);

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.

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.6",
3+
"version": "3.1.7",
44
"main": "dist/angular-slick.js",
55
"repository": {
66
"type": "git",

src/slick.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ angular
281281
});
282282

283283
return scope.$watch('settings', function (newVal, oldVal) {
284-
if (typeof newVal !== 'undefined' && newVal !== null) {
284+
if (newVal !== null) {
285285
return destroyAndInit();
286286
}
287287
}, true);

0 commit comments

Comments
 (0)