ng-scrollbars icon indicating copy to clipboard operation
ng-scrollbars copied to clipboard

ngScrollbarsConfig() is not a function

Open florinbardosi opened this issue 8 years ago • 4 comments

In the latest version ngScrollbarsConfig is considered a function and it breaks the code

if (scope.ngScrollbarsConfig) { config = scope.ngScrollbarsConfig(); }

florinbardosi avatar Feb 29 '16 07:02 florinbardosi

Thanks for the issue! Does it still appear that way if you update to the latest code? I think that shouldn't be an issue in version 0.0.9: https://github.com/iominh/ng-scrollbars/blob/0.0.9/src/scrollbars.js#L31

iominh avatar Feb 29 '16 13:02 iominh

Oh ugh you're right, it looks like the minified version wasn't updated. I'll update that as well

iominh avatar Feb 29 '16 13:02 iominh

I didn't test in that way. I've made an update from bower in my app

florinbardosi avatar Feb 29 '16 13:02 florinbardosi

If you update to version 0.0.10 this should be fixed

iominh avatar Feb 29 '16 16:02 iominh