iominh / ng-scrollbars

Angular wrapper of Malihu's jQuery Custom Scrollbar
http://iominh.github.io/ng-scrollbars/
MIT License
202 stars 62 forks source link

ngScrollbarsConfig() is not a function #27

Open florinbardosi opened 8 years ago

florinbardosi commented 8 years ago

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

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

iominh commented 8 years ago

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 commented 8 years ago

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

florinbardosi commented 8 years ago

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

iominh commented 8 years ago

If you update to version 0.0.10 this should be fixed