esrefactor
esrefactor copied to clipboard
I'm using Emacs and want to choose an engine to help JS dev. But see `esrefactor` haven't updated since 2013. Is the project will be continued with ES2015 & ES2016...
Line reference: esrefactor.js:76 (although, looking at the most recent version of your code, it would appear the line number there would be 73). This problem is occurring in the [js-refactor](https://github.com/hax/js-refactor/issues/7)...
Could you update or help me understand what is the meaning of `ctx.identify(4);` in example of this project ???
It seems that estraverse just added a version tag of v1.5.1, which made trouble for users of esrefactor because esrefactor specifies a dependency on ~0.0.4. Updating the dependency (either to...
I actually needed #7 to work, so I figured it was a good idea to also make #8 pass. By doing so I refactored a bit and tried to improve...
The current version as it stands does not pass all tests: ``` Checking global_declaration.js ... FAIL: Mismatched declaration Expected: {"type":"Identifier","name":"answer","range":[4,10]} Actual: {"type":"Identifier","name":"answer","range":[36,42]} FAIL: Mismatched renaming Expected: ["var $; // declaration:answer","","$...
...to fix test cases for global declarations. Added check for function declaration to examine upper scope for identifiers. Cleaned up some unused variables. Fixed to pass global declaration test case....
Hi ariya, is it possible to get the references of function names? e.g ``` javascript var ctx = new esrefactor.Context('function foo(){} foo(); foo();'); var id = ctx.identify(9); //get all references...