Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 45dd445

Browse files
committed
fixup! fix($compile): throw error in $onChanges immediately
1 parent ae93029 commit 45dd445

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/ng/compile.js

-1
Original file line numberDiff line numberDiff line change
@@ -1557,7 +1557,6 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
15571557
}
15581558
// We must run this hook in an apply since the $$postDigest runs outside apply
15591559
$rootScope.$apply(function() {
1560-
var errors = [];
15611560
for (var i = 0, ii = onChangesQueue.length; i < ii; ++i) {
15621561
try {
15631562
onChangesQueue[i]();

0 commit comments

Comments
 (0)