mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-23 22:35:25 +02:00
Fix all res/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
describe('CpuCtrl', function () {
|
||||
describe('CpuCtrl', function() {
|
||||
|
||||
beforeEach(angular.mock.module(require('./index').name))
|
||||
|
||||
var scope, ctrl
|
||||
|
||||
beforeEach(inject(function ($rootScope, $controller) {
|
||||
beforeEach(inject(function($rootScope, $controller) {
|
||||
scope = $rootScope.$new()
|
||||
ctrl = $controller('CpuCtrl', {$scope: scope})
|
||||
}))
|
||||
|
||||
it('should ...', inject(function () {
|
||||
it('should ...', inject(function() {
|
||||
expect(1).toEqual(1)
|
||||
|
||||
}))
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
require('./cpu.css')
|
||||
|
||||
|
||||
|
||||
module.exports = angular.module('stf.cpu', [
|
||||
require('epoch').name
|
||||
])
|
||||
.run(["$templateCache", function ($templateCache) {
|
||||
.run(['$templateCache', function($templateCache) {
|
||||
$templateCache.put('control-panes/performance/cpu/cpu.jade',
|
||||
require('./cpu.jade')
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user