Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit ff7d701

Browse files
committed
Add data1.json to the excluded files for bower.json + Revert for #43
1 parent 266314a commit ff7d701

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

bower.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
".travis.yml",
1919
"vendor",
2020
"data.json",
21+
"data1.json",
2122
"demo",
2223
"favicon.png",
2324
"index.html",

src/angular-datatables.directive.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@
8282
var _this = this,
8383
parentScope = $scope.$parent,
8484
dataProp = $DTPropertyUtil.findDataPropFromScope(parentScope);
85-
if (parentScope[dataProp].length === 0) {
86-
_doRenderDataTable($elem, _this.options, $scope);
87-
}
85+
// if (parentScope[dataProp].length === 0) {
86+
// _doRenderDataTable($elem, _this.options, $scope);
87+
// }
8888
$scope.$on(DT_DEFAULT_OPTIONS.lastRowKey, function () {
8989
_doRenderDataTable($elem, _this.options, $scope);
9090
});

0 commit comments

Comments
 (0)