mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
updated how moment is included and removed moment as a dep since it is included
This commit is contained in:
parent
06f4b017d6
commit
49e131ce21
@ -10,7 +10,6 @@
|
||||
"url": "http://github.com/torkelo/grafana.git"
|
||||
},
|
||||
"devDependencies": {
|
||||
"moment": "~2.5.1",
|
||||
"rjs-build-analysis": "0.0.3",
|
||||
"grunt": "~0.4.0",
|
||||
"grunt-ngmin": "0.0.3",
|
||||
|
@ -3,13 +3,13 @@ define([
|
||||
'underscore',
|
||||
'jquery',
|
||||
'config',
|
||||
'kbn'
|
||||
'kbn',
|
||||
'moment'
|
||||
],
|
||||
function (angular, _, $, config, kbn) {
|
||||
function (angular, _, $, config, kbn, moment) {
|
||||
'use strict';
|
||||
|
||||
var module = angular.module('kibana.services');
|
||||
var moment = require('moment');
|
||||
|
||||
module.service('graphiteSrv', function($http, $q, filterSrv) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user