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

- Refactor tests/ & app/ folders to use let & const and destructuring… #368

Merged
merged 1 commit into from
May 23, 2015

Conversation

Mawaheb
Copy link
Contributor

@Mawaheb Mawaheb commented May 22, 2015

This is a first step of WIP that covers #360

In this PR, the contents of App/ and Test/ folders are refactored to use ES6's let & const and use destructuring to import Ember classes.

@locks
Copy link
Contributor

locks commented May 22, 2015

👍

var computed = Ember.computed;

var WebsocketAdapter = BasicAdapter.extend({
let WebsocketAdapter = BasicAdapter.extend({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should just export default BasicAdapter.extend

@teddyzeenny
Copy link
Contributor

@Mawaheb looks great!! Left a few minor comments.

@Mawaheb
Copy link
Contributor Author

Mawaheb commented May 22, 2015

@teddyzeenny Thanks for the feedback, I will make the changes and push again :)

… to import Ember classes.

- Add bable.

- WIP, using let & const and destructuring to import Ember classes.

- Complete refactoring app/ to use let & cost and destructuring.

- Minor edits.
@Mawaheb
Copy link
Contributor Author

Mawaheb commented May 22, 2015

Done!, Please let me know if you have any notes.

@teddyzeenny
Copy link
Contributor

Nice!

teddyzeenny added a commit that referenced this pull request May 23, 2015
- Refactor tests/ & app/ folders to use let & const and destructuring…
@teddyzeenny teddyzeenny merged commit 99c5ab9 into emberjs:master May 23, 2015
@teddyzeenny teddyzeenny mentioned this pull request Jun 3, 2015
14 tasks
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

Successfully merging this pull request may close these issues.

None yet

3 participants