ember-polyfills / ember-angle-bracket-invocation-polyfill

MIT License
76 stars 33 forks source link

Give Helpers Precedence Over Properties #50

Open iezer opened 6 years ago

iezer commented 6 years ago

As mentioned in https://github.com/emberjs/ember.js/issues/17120#issuecomment-430248190

If an app has a helper and property with the same name, Ember 3.4 will always call the helper first (when using AngleBracket invocation). However, this polyfill accesses the property first.

This polyfill should be changed to be consistent with Ember.

Behavior reproduced in Ember 3.4 with this twiddle