committed by
Julius Härtl
parent
9fa88cac6b
commit
d386ab80d4
@@ -31,4 +31,7 @@ rules:
|
|||||||
no-unused-vars: warn
|
no-unused-vars: warn
|
||||||
no-use-before-define: error
|
no-use-before-define: error
|
||||||
semi: ["error", "always"]
|
semi: ["error", "always"]
|
||||||
indent: ["error", "tab"]
|
indent:
|
||||||
|
- error
|
||||||
|
- tab
|
||||||
|
- SwitchCase: 1
|
||||||
|
|||||||
@@ -45,7 +45,6 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St
|
|||||||
return $state.params;
|
return $state.params;
|
||||||
}, function (params) {
|
}, function (params) {
|
||||||
$scope.params = params;
|
$scope.params = params;
|
||||||
console.log(params);
|
|
||||||
}, true);
|
}, true);
|
||||||
$scope.params = $state;
|
$scope.params = $state;
|
||||||
|
|
||||||
@@ -87,7 +86,7 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St
|
|||||||
|
|
||||||
$scope.stacksData = StackService;
|
$scope.stacksData = StackService;
|
||||||
$scope.stacks = [];
|
$scope.stacks = [];
|
||||||
$scope.$watch('stacksData', function (value) {
|
$scope.$watch('stacksData', function () {
|
||||||
$scope.refreshData();
|
$scope.refreshData();
|
||||||
}, true);
|
}, true);
|
||||||
$scope.refreshData = function () {
|
$scope.refreshData = function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user