3 ms·
Have you had any luck getting it to handle modern JavaScript style? Whenever I've tried js2-mode it really hasn't liked jQuery style nested anonymous functions.
by almost 15y ago
Have you had any luck getting it to handle modern JavaScript style? Whenever I've tried js2-mode it really hasn't liked jQuery style nested anonymous functions.
- gcv 15y agoDo you have a specific example in mind? It works pretty well for me.
- tikhonj 15y agoTry using the version I linked rather than the original. It has a bunch of improvements including how it handles indenting functions. I've done some moderately complicated jQuery development with it, as well as some node.js stuff for fun, and have had no issues in either case.