Skip to content

Commit 0612458

Browse files
Ben RubinBen Rubin
authored andcommitted
fix bower dependencies
syntax fixes
1 parent c8601d1 commit 0612458

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

bower.json

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,13 @@
3131
"src",
3232
"gulp"
3333
],
34-
"dependencies": {
35-
"angular": "^1.5.8"
36-
},
3734
"devDependencies": {
38-
"angular-mocks": "^1.5.8",
39-
"angular-route": "^1.5.8",
40-
"angular-material": "^1.1.1",
41-
"angular-animate": "^1.5.9",
42-
"angular-messages": "^1.5.9",
43-
"angular-aria": "^1.5.9"
35+
"angular": "1.5.10",
36+
"angular-mocks": "1.5.10",
37+
"angular-route": "1.5.10",
38+
"angular-material": "~1.1.1",
39+
"angular-animate": "1.5.10",
40+
"angular-messages": "1.5.10",
41+
"angular-aria": "1.5.10"
4442
}
4543
}

src/js/branch.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,8 @@ function branchController($scope, $mdUtil, $animateCss) {
414414
if (parent.nodeName === 'MD-BRANCH') { depth += 1; }
415415
parent = parent.parentNode;
416416
}
417-
return $scope.$depth = depth;
417+
$scope.$depth = depth;
418+
return depth;
418419
}
419420

420421

src/js/tree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function treeDirective($mdTheming, $mdUtil) {
120120
var depth;
121121
var branch = branches[hashKey];
122122
if (branch !== undefined) {
123-
handleSelectionConflicts(branch)
123+
handleSelectionConflicts(branch);
124124
branch.setSelected(true);
125125
vm.selected[hashKey] = hashedValue;
126126
}

0 commit comments

Comments
 (0)