Skip to content

Commit b218e98

Browse files
committed
Add correction l-lin#78 to minified file
1 parent f365f0d commit b218e98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/angular-datatables.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@
918918
var _this = this, expression = $elem.find('tbody').html(),
919919
// Find the resources from the comment <!-- ngRepeat: item in items --> displayed by angular in the DOM
920920
// This regexp is inspired by the one used in the "ngRepeat" directive
921-
match = expression.match(/^\s*.+\s+in\s+(\w*)\s*/), ngRepeatAttr = match[1];
921+
match = expression.match(/^\s*.+\s+in\s+(\S*)\s*/), ngRepeatAttr = match[1];
922922
if (!match) {
923923
throw new Error('Expected expression in form of "_item_ in _collection_[ track by _id_]" but got "{0}".', expression);
924924
}

0 commit comments

Comments
 (0)