ui-carousel icon indicating copy to clipboard operation
ui-carousel copied to clipboard

on-after-change and on-before-change errors

Open f10l opened this issue 7 years ago • 2 comments

Hey,

sorry for the next issue in a row :(

I tried to use on-after-change (or on-before-change) and they both give an error (at the first click, at init everything works):

console_runner-079c09a….js:1 TypeError: Cannot use 'in' operator to search for 'carouselDemo' in 1
    at fn (eval at compile (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.1/angular.min.js:237:285), <anonymous>:4:61)
    at Object.d.(anonymous function) [as onAfterChange] (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.1/angular.min.js:86:278)
    at http://vckit.themelego.com/wp-content/themes/twentyfifteen/ui-carousel.min.js:1:3756
    at https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.1/angular.min.js:160:433
    at f (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.1/angular.min.js:47:148)
    at https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.1/angular.min.js:50:68

More is in the codepen: http://codepen.io/anon/pen/BWXNjQ

Unfortunately I did not find any way to search deeper for the trouble and can not exclude some wrong usage.

Best regards, Fabian

f10l avatar Apr 09 '17 13:04 f10l

@fanick-ber I fixed this issue on 7e6735a. See pen: http://codepen.io/mihnsen/pen/vmWppq

mihnsen avatar May 07 '17 13:05 mihnsen

thanks a lot for the fixes :)

f10l avatar May 08 '17 11:05 f10l