Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CLEANUP beta] Fix ember-2-legacy support for Ember.Binding.
The primary change here is to allow `Ember.Mixin.finishPartial` and `Ember.Mixin.detectBinding` to be undefined/null. The reason for this is that there is an annoying ordering issue. Basically, the environment flags are present from when Ember itself boots, but the monkey patches added by ember-2-legacy (`detectBinding` and `finishPartial`) are not done until _after_ the main `ember.debug.js` / `ember.prod.js` files have been processed. _Within_ the evaluation of the main `ember.*.js` file, the environment variable has been set but these functions are still missing. This means that _Ember itself_ (during evaluation of `Ember.CoreObject`) causes an issue when it attempts to call `Mixin.finishPartials`.
- Loading branch information