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

Direct usage of Ember made invalid #49

Open
knownasilya opened this issue Sep 23, 2017 · 0 comments
Open

Direct usage of Ember made invalid #49

knownasilya opened this issue Sep 23, 2017 · 0 comments

Comments

@knownasilya
Copy link

knownasilya commented Sep 23, 2017

Had code like

 return Ember.observer.apply(Ember, keys.concat(function () {
    Ember.run.throttle(this, throttled[0], throttled[1], throttled[2] || false);
  }));

which was turned into

  return observer.apply(Ember, keys.concat(function () {
    throttle(this, throttled[0], throttled[1], throttled[2] || false);
  }));

After the codemod, Ember no longer existed. In my case I wasn't using this util anymore, so not an issue, but could be an issue for other cases.

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