Commit 49e131ce by Rick Briganti

updated how moment is included and removed moment as a dep since it is included

parent 06f4b017
......@@ -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) {
......
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