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,7 +1,7 @@
module.exports = function iconInsideInputDirective() {
return {
restrict: 'A',
link: function (scope, element, attrs) {
link: function(scope, element, attrs) {
// NOTE: this doesn't work on Chrome with auto-fill, known Chrome bug
element.css({
'background-repeat': 'no-repeat',
@@ -11,7 +11,7 @@ module.exports = function iconInsideInputDirective() {
attrs.$observe('iconInsideInput', function(value) {
element.css({
'background-image': 'url(' + value +')'
'background-image': 'url(' + value + ')'
})
})
}

View File

@@ -1,15 +1,15 @@
describe('iconInsideInput', function () {
describe('iconInsideInput', function() {
beforeEach(angular.mock.module(require('./').name));
beforeEach(angular.mock.module(require('./').name))
var scope, compile;
var scope, compile
beforeEach(inject(function ($rootScope, $compile) {
scope = $rootScope.$new();
compile = $compile;
}));
beforeEach(inject(function($rootScope, $compile) {
scope = $rootScope.$new()
compile = $compile
}))
it('should ...', function () {
it('should ...', function() {
/*
To test your directive, you need to create some html that would use your directive,
@@ -19,5 +19,5 @@ describe('iconInsideInput', function () {
expect(element.text()).toBe('hello, world');
*/
});
});
})
})