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

pull/39/head
Rick Briganti 12 years ago
parent 06f4b017d6
commit 49e131ce21
  1. 1
      package.json
  2. 6
      src/app/services/graphite/graphiteSrv.js

@ -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…
Cancel
Save