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

Change "Router" default export name to "EmberRouter" #29

Merged
merged 1 commit into from
Jul 28, 2017

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Jul 28, 2017

Currently the codemod will produce let Router = Router.extend(...) for a fresh Ember app which might work but doesn't look like clean code. This PR changes the default name for the export to EmberRouter so that the codemod will instead produce let Router = EmberRouter.extend(...).

@Turbo87 Turbo87 requested a review from rwjblue July 28, 2017 07:49
@rwjblue rwjblue merged commit c56891e into ember-cli:master Jul 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants