diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-10-14 15:18:20 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-10-14 16:00:44 +0200 |
commit | c1c95fed1d50b0bb4376418bb1747ad0b38ee16c (patch) | |
tree | fa3a2acffdf3b7a796e9e39e6b65a93522a2d5c4 /server/sonar-web/src/main/js/widgets | |
parent | 0b322db4307871e4cb5c0058f197862e271f4062 (diff) | |
download | sonarqube-c1c95fed1d50b0bb4376418bb1747ad0b38ee16c.tar.gz sonarqube-c1c95fed1d50b0bb4376418bb1747ad0b38ee16c.zip |
use moment.js installed by npm
Diffstat (limited to 'server/sonar-web/src/main/js/widgets')
3 files changed, 4 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/widgets/issue-filter/widget.js b/server/sonar-web/src/main/js/widgets/issue-filter/widget.js index c492ef5d2c0..9fee24ad969 100644 --- a/server/sonar-web/src/main/js/widgets/issue-filter/widget.js +++ b/server/sonar-web/src/main/js/widgets/issue-filter/widget.js @@ -1,5 +1,6 @@ import $ from 'jquery'; import _ from 'underscore'; +import moment from 'moment'; import Backbone from 'backbone'; import Handlebars from 'hbsfy/runtime'; import Marionette from 'backbone.marionette'; diff --git a/server/sonar-web/src/main/js/widgets/old/stack-area.js b/server/sonar-web/src/main/js/widgets/old/stack-area.js index 91997759d7f..fed19757c42 100644 --- a/server/sonar-web/src/main/js/widgets/old/stack-area.js +++ b/server/sonar-web/src/main/js/widgets/old/stack-area.js @@ -1,3 +1,5 @@ +import moment from 'moment'; + window.SonarWidgets = window.SonarWidgets == null ? {} : window.SonarWidgets; (function () { diff --git a/server/sonar-web/src/main/js/widgets/old/timeline.js b/server/sonar-web/src/main/js/widgets/old/timeline.js index 1744ee6b17e..d00c29a082a 100644 --- a/server/sonar-web/src/main/js/widgets/old/timeline.js +++ b/server/sonar-web/src/main/js/widgets/old/timeline.js @@ -1,4 +1,4 @@ -/*global d3:false*/ +import moment from 'moment'; window.SonarWidgets = window.SonarWidgets == null ? {} : window.SonarWidgets; |