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

Handle shorthand actions #38

Closed
ssutar opened this issue Nov 15, 2018 · 0 comments
Closed

Handle shorthand actions #38

ssutar opened this issue Nov 15, 2018 · 0 comments

Comments

@ssutar
Copy link
Contributor

ssutar commented Nov 15, 2018

The transform errors out if we have actions like

import someActionUtil from 'some/action/util';

const Foo = Component.extend({
  actions: {
     someActionUtil
  }
});

It should be handled correctly

import someActionUtil from 'some/action/util';

const Foo = Component.extend({
   @action
   someActionUtil;
});
ssutar pushed a commit to ssutar/ember-es6-class-codemod that referenced this issue Nov 22, 2018
ssutar pushed a commit to ssutar/ember-es6-class-codemod that referenced this issue Nov 22, 2018
ssutar pushed a commit to ssutar/ember-es6-class-codemod that referenced this issue Nov 28, 2018
pzuraq pushed a commit that referenced this issue Nov 30, 2018
@ssutar ssutar closed this as completed Dec 2, 2018
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

1 participant