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

This commit is contained in:
Rick Briganti 2014-01-27 17:30:28 -05:00
parent 06f4b017d6
commit 49e131ce21
2 changed files with 3 additions and 4 deletions

View File

@ -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",

View File

@ -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) {