Skip to content

Commit 8f285f2

Browse files
committed
Minify files
1 parent dba9b70 commit 8f285f2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dist/angular-datatables.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -871,12 +871,12 @@ function dtNGRenderer($log, $q, $compile, $timeout, DTRenderer, DTRendererServic
871871
var _expression = $elem.find('tbody').html();
872872
// Find the resources from the comment <!-- ngRepeat: item in items --> displayed by angular in the DOM
873873
// This regexp is inspired by the one used in the "ngRepeat" directive
874-
var _match = _expression.match(/^\s*.+?\s+in\s+(\S*)\s*/);
875-
var _ngRepeatAttr = _match[1];
874+
var _match = _expression.match(/^\s*.+?\s+in\s+(\S*)\s*/m);
876875

877876
if (!_match) {
878877
throw new Error('Expected expression in form of "_item_ in _collection_[ track by _id_]" but got "{0}".', _expression);
879878
}
879+
var _ngRepeatAttr = _match[1];
880880

881881
var _alreadyRendered = false;
882882

0 commit comments

Comments
 (0)