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

@@ -1,9 +1,9 @@
module.exports = function RemoteDebugCtrl($scope, $timeout, gettext) {
function startRemoteConnect() {
if ($scope.control) {
$scope.control.startRemoteConnect().then(function (result) {
$scope.control.startRemoteConnect().then(function(result) {
var url = result.lastData
$scope.$apply(function () {
$scope.$apply(function() {
$scope.debugCommand = 'adb connect ' + url
})
})
@@ -15,14 +15,14 @@ module.exports = function RemoteDebugCtrl($scope, $timeout, gettext) {
// TODO: Remove timeout and fix control initialization
if (!startRemoteConnect()) {
$timeout(function () {
$timeout(function() {
if (!startRemoteConnect()) {
$timeout(startRemoteConnect, 1000)
}
}, 200)
}
$scope.$watch('platform', function (newValue) {
$scope.$watch('platform', function(newValue) {
if (newValue === 'native') {
$scope.remoteDebugTooltip =
gettext('Run the following on your command line to debug the device from your IDE')