mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 12:53:31 +02:00
Fix all res/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -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')
|
||||
)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module.exports = function InputCtrl($scope) {
|
||||
|
||||
$scope.press = function (key) {
|
||||
$scope.press = function(key) {
|
||||
$scope.control.keyPress(key)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
}));
|
||||
}))
|
||||
|
||||
});
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user