This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add optional valueFn to PathObserver
This is the first step towards adding a CompoundPathObserver to observe-js (and removing CompoundBinding from TemplateBind). The motivation for this is to reduce allocation and total number of observers when CompoundObservation is needed. This step allows for code to special case when there is a conversion function, but only one dependent path. R=arv BUG= Review URL: https://codereview.appspot.com/13208043
- Loading branch information
Showing
2 changed files
with
38 additions
and
8 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
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