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,14 +1,14 @@
module.exports = function InfoCtrl($scope, LightboxImageService) {
$scope.openDevicePhoto = function (device) {
$scope.openDevicePhoto = function(device) {
var title = device.name
var enhancedPhoto800 = '/static/app/devices/photo/x800/' + device.image
LightboxImageService.open(title, enhancedPhoto800)
}
var getSdStatus = function () {
var getSdStatus = function() {
if ($scope.control) {
$scope.control.getSdStatus().then(function (result) {
$scope.$apply(function () {
$scope.control.getSdStatus().then(function(result) {
$scope.$apply(function() {
$scope.sdCardMounted = (result.lastData === 'sd_mounted')
})
})