Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor($compile): check removeWatches before calling
Previously we assigned `noop` if there was no function but there is no performance advantage in doing this since the check would have to happen either at assignment time or at call time. Removing this use of `noop` makes the code clearer, IMO :-) Closes angular#12528
- Loading branch information