danielstocks / jQuery-Collapse

A lightweight (~1kb) jQuery plugin that enables expanding and collapsing content
http://webcloud.se/jQuery-Collapse/
MIT License
679 stars 153 forks source link

No version number. Spent hours troubleshooting outdated version. 😢 #116

Open regiside opened 1 year ago

regiside commented 1 year ago

Hey, thanks for putting work into this software and offering it for free. I made the unfortunate mistake of downloading the plugin from https://www.jqueryscript.net. They are hosting an outdated version of the plugin. As such several features were not working as expected. I spent half a day troubleshooting trying to figure out what I was doing wrong. Finally noticed that the readme in my version had copyright 2012 and the version on your site had 2013. I might have been able to spot this a little sooner if the readme or script files contained a version number. For future reference, please include version numbers in an easy to find location on your releases. :)

danielstocks commented 1 year ago

Thanks for reporting @regiside, and sorry about that. The version number is available in the package.json file but maybe that wasn't included in your download?

So what you are suggesting is also having it as part of README.md and/or in the jquery.collapse.js file?