Fix all res/ files with ESLint rules with 0 errors.

This commit is contained in:
Gunther Brunner
2016-01-19 23:08:33 +09:00
parent 1006564ae7
commit a3f815c118
258 changed files with 1634 additions and 1634 deletions

View File

@@ -8,11 +8,11 @@ module.exports = function LogsCtrl($scope, LogcatService) {
LogcatService.filters.filterLines()
$scope.$watch('started', function (newValue, oldValue) {
$scope.$watch('started', function(newValue, oldValue) {
if (newValue !== oldValue) {
LogcatService.started = newValue
if (newValue) {
$scope.control.startLogcat([]).then(function () {
$scope.control.startLogcat([]).then(function() {
})
} else {
$scope.control.stopLogcat()
@@ -20,19 +20,19 @@ module.exports = function LogsCtrl($scope, LogcatService) {
}
})
window.onbeforeunload = function () {
window.onbeforeunload = function() {
if ($scope.control) {
$scope.control.stopLogcat()
}
}
$scope.clear = function () {
$scope.clear = function() {
LogcatService.clear()
}
function defineFilterWatchers(props) {
angular.forEach(props, function (prop) {
$scope.$watch('filters.' + prop, function (newValue, oldValue) {
angular.forEach(props, function(prop) {
$scope.$watch('filters.' + prop, function(newValue, oldValue) {
if (!angular.equals(newValue, oldValue)) {
LogcatService.filters[prop] = newValue
}