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

Move ember-debug code to ES6 #377

Closed
teddyzeenny opened this issue Jun 3, 2015 · 2 comments
Closed

Move ember-debug code to ES6 #377

teddyzeenny opened this issue Jun 3, 2015 · 2 comments

Comments

@teddyzeenny
Copy link
Contributor

Refactor ember-debug:

  • Replace all var with const and let
  • Use arrow function for callbacks (instead of using the self/bind approach)
  • Use destructuring to import Ember classes: const { RSVP, computed, run, Route } = Ember.
  • Use the new method definition syntax in object literals: { foo() {} }

Part of #360

@Mawaheb
Copy link
Contributor

Mawaheb commented Jun 5, 2015

This is almost complete, will raise a PR soon.

@teddyzeenny
Copy link
Contributor Author

Done in #387

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

No branches or pull requests

2 participants