refactor($compile): remove unnecessary call to isDefined()
(As discussed in https://github.com/angular/angular.js/pull/14406/files#r59131398.)
This commit is contained in:
+1
-1
@@ -3237,7 +3237,7 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
|
||||
onChangesQueue.push(triggerOnChangesHook);
|
||||
}
|
||||
// If the has been a change on this property already then we need to reuse the previous value
|
||||
if (isDefined(changes[key])) {
|
||||
if (changes[key]) {
|
||||
previousValue = changes[key].previousValue;
|
||||
}
|
||||
// Store this change
|
||||
|
||||
Reference in New Issue
Block a user