Skip to content

Commit 283b597

Browse files
committed
fixing jshint issues
1 parent 10511e5 commit 283b597

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

quick-start/src/main/resources/static/app/services/modalService.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -97,28 +97,28 @@
9797

9898
function isLeaf(node) {
9999
return false;
100-
};
100+
}
101101

102102
$scope.treeOptions = {
103-
nodeChildren: "children",
103+
nodeChildren: 'children',
104104
dirSelectable: true,
105105
multiSelection: false,
106106
isLeaf: isLeaf,
107107
injectClasses: {
108-
ul: "a1",
109-
li: "a2",
110-
liSelected: "a7",
111-
iExpanded: "a3",
112-
iCollapsed: "a4",
113-
iLeaf: "a5",
114-
label: "a6",
115-
labelSelected: "a8"
108+
ul: 'a1',
109+
li: 'a2',
110+
liSelected: 'a7',
111+
iExpanded: 'a3',
112+
iCollapsed: 'a4',
113+
iLeaf: 'a5',
114+
label: 'a6',
115+
labelSelected: 'a8'
116116
}
117117
};
118118

119119
$scope.searchPath = function(basePath, node) {
120120
DataHub.searchPath(basePath).success(function(data) {
121-
if (node == null) {
121+
if (node == null) { // jshint ignore:line
122122
//initialize root
123123
$scope.dataForTheTree = data.paths.slice();
124124
} else {
@@ -129,7 +129,7 @@
129129

130130
$scope.dataForTheTree = [];
131131
//initialize root
132-
$scope.searchPath("");
132+
$scope.searchPath('');
133133
}
134134

135135
function EntityModalController($scope, $uibModalInstance, DataHub) {

0 commit comments

Comments
 (0)