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 the import declaration handler #75

Merged
merged 3 commits into from
Feb 7, 2019

Conversation

ssutar
Copy link
Contributor

@ssutar ssutar commented Feb 6, 2019

This will fix following issues as well: #60 #74 and #59

Santosh Sutar added 3 commits February 5, 2019 18:13
- Moved the logic to a new helper module import-helper.js
- Refactored the bulky functions and updated comments
@pzuraq
Copy link
Collaborator

pzuraq commented Feb 7, 2019

Generally looks good, another thing is once we switch to the polyfilled behavior we'll be able to drop a big chunk of this code. I'm going to try to get that working sooner rather than later, we'll see how it goes though.

@pzuraq pzuraq merged commit fda0f78 into ember-codemods:master Feb 7, 2019
ssutar added a commit to ssutar/ember-es6-class-codemod that referenced this pull request Feb 12, 2019
* Refactor the import statements logic to make it more readable
- Moved the logic to a new helper module import-helper.js
- Refactored the bulky functions and updated comments

* Fixed a typo

* Remove unnecessary delete
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

2 participants