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.
Had code like
which was turned into
After the codemod,
Emberno longer existed. In my case I wasn't using this util anymore, so not an issue, but could be an issue for other cases.