Skip to content

Commit 96f3b33

Browse files
committed
Merge branch 'master' of https://github.com/angular-ui/ui-scroll
2 parents a03263e + 27578e2 commit 96f3b33

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dist/ui-scroll.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* angular-ui-scroll
33
* https://github.com/angular-ui/ui-scroll.git
4-
* Version: 1.5.0 -- 2016-06-19T00:14:16.223Z
4+
* Version: 1.5.0 -- 2016-06-19T00:30:40.294Z
55
* License: MIT
66
*/
77

@@ -569,7 +569,7 @@ angular.module('ui.scroll', []).directive('uiScrollViewport', function () {
569569

570570
function link($scope, element, $attr, controllers, linker) {
571571

572-
var match = $attr.uiScroll.match(/^\s*(\w+)\s+in\s+([\w\.]+)\s*$/);
572+
var match = $attr.uiScroll.match(/^\s*(\w+)\s+in\s+([(\w|\$)\.]+)\s*$/);
573573

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

0 commit comments

Comments
 (0)