Skip to content

Commit f365f0d

Browse files
committed
Merge branch 'AdirAmsalem-fix-NGRenderer-regex' into dev
2 parents f2fb9e5 + 585c974 commit f365f0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/angular-datatables.renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
expression = $elem.find('tbody').html(),
5555
// Find the resources from the comment <!-- ngRepeat: item in items --> displayed by angular in the DOM
5656
// This regexp is inspired by the one used in the "ngRepeat" directive
57-
match = expression.match(/^\s*.+\s+in\s+(\w*)\s*/),
57+
match = expression.match(/^\s*.+\s+in\s+(\S*)\s*/),
5858
ngRepeatAttr = match[1];
5959

6060
if (!match) {

0 commit comments

Comments
 (0)