Skip to content

Commit 0b91bb2

Browse files
author
iyel
committed
rebuild v0.4.2
1 parent 4e6bda3 commit 0b91bb2

5 files changed

Lines changed: 10 additions & 9 deletions

File tree

bower.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "ng-table",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"main": [
5-
"./dist/ng-table.min.js",
6-
"./dist/ng-table.min.css"
5+
"./dist/ng-table.min.js",
6+
"./dist/ng-table.min.css"
77
],
88
"ignore": [
99
"examples",
@@ -15,4 +15,4 @@
1515
"devDependencies": {
1616
"angular-mocks": "~1"
1717
}
18-
}
18+
}

dist/ng-table.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ var ngTableController = ['$scope', 'ngTableParams', '$timeout', function ($scope
487487
$scope.params.$params.page = 1;
488488
}
489489

490-
$scope.$watch('params.$params', function (newParams, oldParams) {
490+
$scope.$watch('[params.$params, params.data]', function (newParams, oldParams) {
491491
$scope.params.settings().$scope = $scope;
492492

493493
if (!angular.equals(newParams.filter, oldParams.filter)) {
@@ -521,6 +521,7 @@ var ngTableController = ['$scope', 'ngTableParams', '$timeout', function ($scope
521521
});
522522
};
523523
}];
524+
524525
/**
525526
* ngTable: Table + Angular JS
526527
*

0 commit comments

Comments
 (0)