Open Smashman opened 10 years ago
I also chucked enhancedsteam.js through http://jshint.com/
It's not pretty and I think we oughta go through it and give it a clean up.
Yes I agree the code could be cleaned up quite a bit, though a lot of the errors given by jshint.com revolve around $ being an undefined variable, since it's not taking into account that jQuery is loaded before enhancedsteam.js.
Anyway, I'm all for minification of the code as part of the build process before it's sent to Google.
It notes 52 warnings in only 16% of the file, of which the undefined variables do not count. That's pretty bad :-1:
grunt or gulp are very good. gulp have a lot of good plugins http://gulpjs.com/plugins/
Gulp is pretty much worth it let alone for the JSHint feature. It also provides the ability to use some other nice things in the future.
I have worked with both gulp and grunt, and my choice would be gulp in this case.
I made a basic gulpfile that runs JSHint. #510
So, Enhanced Steam is discontinued. There is now Augmented Steam. Perhaps your requested feature/bugfix is already implemented there! If not, you could move your issue there.
http://gruntjs.com/
Worth looking into for linting and minification?