Earlier today I checked version 1.4.0 of jList into GitHub. This version adds:
- More validation of input parameters
When I first wrote jList I made a decision that there would be only the minimum validation of input parameters. This was to keep the file size down and also because it was for use by developers who should no better than to miss mandatory parameters. With this release I’ve relented a little – missing parameters will now throw an error. I’m still undecided about adding further validation in future…
- Compatibility with jsLint Edition 2012-08-23.
A recent change to jsLint meant that my missing parameter checks:
if (tyepeof paramname === "undefined")
were being flagged as errors. As full jsLint compatibility is an important part of jList these have been amended to the more appropriate and acceptable:
if (paramname === undefined)
- Jasmine test suite.
jList 1.4.0 can be downloaded for free from GitHub.