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

Commit 7cba4ec

Browse files
committed
fix(ng-repeat): properly detect the end of an ng-repeat-start block
This bug was introduced when by.exactRepeater was Discovered while investigating issue #2365
1 parent 97e6703 commit 7cba4ec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/clientsidescripts.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ function findRepeaterRows(repeater, exact, index, using) {
190190
var elem = repeatElems[i];
191191
var row = [];
192192
while (elem.nodeType != 8 ||
193-
!repeaterMatch(elem.nodeValue, repeater, exact)) {
193+
!repeaterMatch(elem.nodeValue, repeater)) {
194194
if (elem.nodeType == 1) {
195195
row.push(elem);
196196
}
@@ -237,7 +237,7 @@ function findAllRepeaterRows(repeater, exact, using) {
237237
if (repeaterMatch(repeatElems[i].getAttribute(attr), repeater, exact)) {
238238
var elem = repeatElems[i];
239239
while (elem.nodeType != 8 ||
240-
!repeaterMatch(elem.nodeValue, repeater, exact)) {
240+
!repeaterMatch(elem.nodeValue, repeater)) {
241241
if (elem.nodeType == 1) {
242242
rows.push(elem);
243243
}
@@ -291,7 +291,7 @@ function findRepeaterElement(repeater, exact, index, binding, using, rootSelecto
291291
var elem = repeatElems[i];
292292
var row = [];
293293
while (elem.nodeType != 8 || (elem.nodeValue &&
294-
!repeaterMatch(elem.nodeValue, repeater, exact))) {
294+
!repeaterMatch(elem.nodeValue, repeater))) {
295295
if (elem.nodeType == 1) {
296296
row.push(elem);
297297
}
@@ -390,7 +390,7 @@ function findRepeaterColumn(repeater, exact, binding, using, rootSelector) {
390390
var elem = repeatElems[i];
391391
var row = [];
392392
while (elem.nodeType != 8 || (elem.nodeValue &&
393-
!repeaterMatch(elem.nodeValue, repeater, exact))) {
393+
!repeaterMatch(elem.nodeValue, repeater))) {
394394
if (elem.nodeType == 1) {
395395
row.push(elem);
396396
}

0 commit comments

Comments
 (0)