Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES6 arrow functions and methods. #19

Closed
jordonbiondo opened this issue Apr 25, 2016 · 3 comments
Closed

ES6 arrow functions and methods. #19

jordonbiondo opened this issue Apr 25, 2016 · 3 comments

Comments

@jordonbiondo
Copy link
Contributor

jordonbiondo commented Apr 25, 2016

Dumb jump currently wont find arrow function definitions or methods in javascript. Ideally it would be able to find funcName when defined in a way below;

let funcName = (foo) => "bar";

const funcName = (foo) => "bar";

const funcName = (foo) => {
  return "bar";
}

const obj = {
  funcName: (foo) => {
    return "bar";
  }
}

const obj = {
  funcName(foo) {
    return "bar";
 }
}
@jacktasia
Copy link
Owner

Thanks for reporting this. I totally agree, and I will look into supporting this tonight after work. The first two, at least, should be easy to support.

@jacktasia
Copy link
Owner

@jordonbiondo

ES6 functions should now work. Please re-open this issue if it doesn't work as expected.

It may take up to 12 hours for this update to be available via MELPA. In MELPA Stable, it will be 0.3.9.

Thanks again for the feedback and please let me know if you have more.

@jordonbiondo
Copy link
Contributor Author

Appears to work as desired, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants