Skip to content

Commit 2e5a27c

Browse files
committed
Build + small fix jsHint error:
./src/ui-scroll.js - 508 |let assign = undefined;^ It's not necessary to initialize 'assign' to 'undefined'.
1 parent 5754b89 commit 2e5a27c

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

dist/ui-scroll-grid.js

Lines changed: 1 addition & 1 deletion
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-09T21:24:24.010Z
4+
* Version: 1.5.0 -- 2016-06-14T18:59:53.843Z
55
* License: MIT
66
*/
77

dist/ui-scroll-grid.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ui-scroll-jqlite.js

Lines changed: 1 addition & 1 deletion
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-09T21:24:24.010Z
4+
* Version: 1.5.0 -- 2016-06-14T18:59:53.843Z
55
* License: MIT
66
*/
77

dist/ui-scroll-jqlite.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ui-scroll.js

Lines changed: 3 additions & 3 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-09T21:24:24.010Z
4+
* Version: 1.5.0 -- 2016-06-14T18:59:53.843Z
55
* License: MIT
66
*/
77

@@ -514,7 +514,7 @@ angular.module('ui.scroll', []).directive('uiScrollViewport', function () {
514514
function createValueInjector(attribute) {
515515
var expression = $attr[attribute];
516516
var scope = viewportScope;
517-
var assign = undefined;
517+
var assign = null;
518518
if (expression) {
519519
var match = expression.match(/^(\S+)(?:\s+on\s+(\w(?:\w|\d)*))?$/);
520520
if (!match) throw new Error('Expected injection expression in form of \'target\' or \'target on controller\' but got \'' + expression + '\'');
@@ -567,7 +567,7 @@ angular.module('ui.scroll', []).directive('uiScrollViewport', function () {
567567

568568
function link($scope, element, $attr, controllers, linker) {
569569

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

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

0 commit comments

Comments
 (0)