Open runspired opened 8 years ago
You have a point. Do you know how we can set EmberENV.EXTEND_PROTOTYPES = false;
in tests?
All you need to do is use the addon.
npm install --save-dev ember-disable-prototype-extensions
.
You can replace computed properties with Ember.computed(...keys, method)
,
Yes I saw that but like to test with and without. Will take a closer look.
If you have the addon setup to work without prototype extensions, it will work with them as well. You don't need to test both scenarios.
the setting is easy in the addon as well
Have a PR almost ready for this
Nice!
@runspired applied @mharris717 PR to switch to ember-cli 2.7.0 and remove bindings. @runspired can you test this?
Ember addons which use prototype extensions break in apps which don't.
This may not be the only place they are in use, but it's one: https://github.com/mharris717/ember-cli-pagination/blob/master/addon/local/paged-array.js#L19-L23