PeachScript / vue-infinite-loading

An infinite scroll plugin for Vue.js.
https://peachscript.github.io/vue-infinite-loading/
MIT License
2.66k stars 366 forks source link

Changes name casing in Vue.component calls #249

Open cathrinevaage opened 5 years ago

cathrinevaage commented 5 years ago

Due to the casing of the component name given to Vue.component, the component can only be used in templates as <infinite-loading>, and never <InfiniteLoading>. Changing the casing allows both <infinite-loading> and <InfiniteLoading> to be used in templates.

I could not get the tests to run without fail, even before I made any changes. I followed the development setup guide in CONTRIBUTING.md. The failing tests are the same before and after the changes were made.

Nevertheless, this is a very minor change, and it doesn't affect anything negatively.