In the old version of Kmdjs, the requirement for semicolons was enforced. But always feel uncomfortable, because in the development of Ket-kmdjs Extension tools, always need to import some open source Library, and then the pain came, always error, a check, is missing semicolon!! Later, you can JSLint can detect where the semicolon is missing, then you can use JSLint in the missing place to add a semicolon? JSLint as a library to use, rather than tools, so immediately looked at the JSLint source code, and then a section:
The above program depends on: http://jslint.com/webjslint.js
During the period also encountered, part of the program added a semicolon, part of the program did not add, a check reason: too many error!! Detect interrupts! The solution is to increase the jslint tolerance limit, such as setting the JSLint to tolerate 10,000 errors:
Jslint.jslint (Codestr, {maxerr:10000});
Then the next version of Kmdjs will no longer force the semicolon to end, are you lazy? No problem, Kmdjs automatically help you to add a semicolon!
Where's ket? It's not far.
Github:https://github.com/kmdjs/kmdjs