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

Commit a877268

Browse files
fengxxsjelin
authored andcommitted
ng-repeat-start should not return extra null element
1 parent 78880ae commit a877268

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/clientsidescripts.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ functions.findBindings = function(binding, exactMatch, using, rootSelector) {
136136
}
137137
}
138138
}
139-
return [rows[index]].concat(multiRows[index]);
139+
var row = rows[index] || [], multiRow = multiRows[index] || [];
140+
return [].concat(row, multiRow);
140141
};
141142

142143
/**

0 commit comments

Comments
 (0)