Commit b79e8b81 by Torkel Ödegaard

fixed jshint error in test-main

parent 3b252008
for (var file in window.__karma__.files) {
if (/spec\.js$/.test(file)) {
tests.push(file.replace(/^\/base\//, 'http://localhost:9876/base/'));
}
}
require.config({
baseUrl: 'http://localhost:9876/base/app',
......@@ -93,7 +87,6 @@ require.config({
'angular-loader': ['angular'],
'angular-mocks': ['angular'],
'angular-resource': ['angular'],
'angular-route': ['angular'],
'angular-touch': ['angular'],
'bindonce': ['angular'],
'angular-strap': ['angular', 'bootstrap','timepicker', 'datepicker'],
......@@ -112,6 +105,13 @@ require([
], function(angular) {
'use strict';
for (var file in window.__karma__.files) {
if (/spec\.js$/.test(file)) {
window.tests.push(file.replace(/^\/base\//, 'http://localhost:9876/base/'));
}
}
angular.module('grafana', ['ngRoute']);
angular.module('grafana.services', ['ngRoute', '$strap.directives']);
angular.module('grafana.panels', []);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment