Fix some missing semi-colons in JS. (#1357)

LGTM
This commit is contained in:
kun wang 2017-02-14 17:43:33 +08:00 committed by yhua123
parent 58d17cbd72
commit 8b8dcc6b17
2 changed files with 4 additions and 4 deletions

View File

@ -211,7 +211,7 @@
if(val) {
vm.selectedTags[val.repoName] = val.tags;
}
})
});
function deleteSelectedTags() {
console.log('Delete selected tags:' + angular.toJson(vm.selectedTags[vm.repoName]) + ' under repo:' + vm.repoName);

View File

@ -28,14 +28,14 @@
vm.tags = [];
vm.retrieve = retrieve;
vm.selected = []
vm.selected = [];
vm.selected[vm.repoName] = [];
vm.selectedTags = [];
$scope.$watch('vm.repoName', function(current, origin) {
if(current) {
console.log('vm.repoName triggered tags retrieval.')
console.log('vm.repoName triggered tags retrieval.');
vm.retrieve();
}
});
@ -61,7 +61,7 @@
console.log('RECEIVED gatherSelectedTags:' + val);
gatherSelectedTags();
}
})
});
$scope.$on('selectAll' + vm.repoName, function(e, val) {
(val.status) ? vm.selectedCount[val.repoName] = vm.tags.length : vm.selectedCount[val.repoName] = 0;