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

@@ -2,7 +2,7 @@ require('./input.css')
module.exports = angular.module('stf.advanced.input', [
])
.run(["$templateCache", function ($templateCache) {
.run(['$templateCache', function($templateCache) {
$templateCache.put('control-panes/advanced/input/input.jade',
require('./input.jade')
)

View File

@@ -1,6 +1,6 @@
module.exports = function InputCtrl($scope) {
$scope.press = function (key) {
$scope.press = function(key) {
$scope.control.keyPress(key)
}
}

View File

@@ -1,17 +1,17 @@
describe('InputAdvancedCtrl', function () {
describe('InputAdvancedCtrl', function() {
beforeEach(angular.mock.module(require('./').name));
beforeEach(angular.mock.module(require('./').name))
var scope, ctrl;
var scope, ctrl
beforeEach(inject(function ($rootScope, $controller) {
scope = $rootScope.$new();
ctrl = $controller('InputAdvancedCtrl', {$scope: scope});
}));
beforeEach(inject(function($rootScope, $controller) {
scope = $rootScope.$new()
ctrl = $controller('InputAdvancedCtrl', {$scope: scope})
}))
it('should ...', inject(function () {
expect(1).toEqual(1);
it('should ...', inject(function() {
expect(1).toEqual(1)
}));
}))
});
})