Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5cec461

Browse files
committed
chore(ngRepeat): fix typo in a comment
1 parent 08eb055 commit 5cec461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/directive/ngRepeat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) {
353353
nextBlockMap[trackById] = block;
354354
nextBlockOrder[index] = block;
355355
} else if (nextBlockMap[trackById]) {
356-
// id collision detected. restore lastBlockMap and throw an error
356+
// if collision detected. restore lastBlockMap and throw an error
357357
forEach(nextBlockOrder, function (block) {
358358
if (block && block.scope) lastBlockMap[block.id] = block;
359359
});

0 commit comments

Comments
 (0)