-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Change guard for setting observer up to use `this` instead of `descriptorForProperty` * Check for `obj[PROPERTY_DID_CHANGE]` and `obj.isComponent` instead of `instanceof Ember.Component` * Move observer setup outside of `try`/`finally` * Use arrow function for observer (instead of `Function.prototype.bind`)
- Loading branch information
Showing
1 changed file
with
25 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters