Skip to content

Commit 27578e2

Browse files
committed
Merge the fix for the datasource parsing exp
2 parents 0e87883 + e5a7d3c commit 27578e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui-scroll.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ angular.module('ui.scroll', [])
556556

557557
function link($scope, element, $attr, controllers, linker) {
558558

559-
const match = $attr.uiScroll.match(/^\s*(\w+)\s+in\s+([\w\.]+)\s*$/);
559+
const match = $attr.uiScroll.match(/^\s*(\w+)\s+in\s+([(\w|\$)\.]+)\s*$/);
560560

561561
if (!(match))
562562
throw new Error('Expected uiScroll in form of \'_item_ in _datasource_\' but got \'' + $attr.uiScroll + '\'');

0 commit comments

Comments
 (0)