Fixed linter errors.

This commit is contained in:
Alexander Zobnin
2016-01-16 20:35:11 +03:00
parent 96e9756109
commit 48816ecccb
2 changed files with 2 additions and 3 deletions

View File

@@ -34,6 +34,7 @@ function (angular, _, dateMath) {
// Initialize cache service // Initialize cache service
this.zabbixCache = new ZabbixCache(this.zabbixAPI); this.zabbixCache = new ZabbixCache(this.zabbixAPI);
console.log(this.zabbixCache);
/** /**
* Test connection to Zabbix API * Test connection to Zabbix API

View File

@@ -7,11 +7,9 @@ function (angular, _) {
var module = angular.module('grafana.services'); var module = angular.module('grafana.services');
module.factory('ZabbixCache', function($q, backendSrv) { module.factory('ZabbixCache', function($q) {
function ZabbixCache(zabbixAPI, lifetime) { function ZabbixCache(zabbixAPI, lifetime) {
var self = this;
this.zabbixAPI = zabbixAPI; this.zabbixAPI = zabbixAPI;
this.lifetime = lifetime; this.lifetime = lifetime;