diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-05-03 13:22:21 +0200 |
---|---|---|
committer | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-05-03 16:34:08 +0200 |
commit | eac470022f60389536a71dae30d10f463202ce59 (patch) | |
tree | df6b044ad26190107c81cb485f72effd52122114 /server/sonar-web/src | |
parent | b10cb50ec7c26a85dd549de6633e60705994bd66 (diff) | |
download | sonarqube-eac470022f60389536a71dae30d10f463202ce59.tar.gz sonarqube-eac470022f60389536a71dae30d10f463202ce59.zip |
Expose router components (used in billing plugin)
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r-- | server/sonar-web/src/main/js/app/utils/exposeLibraries.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/app/utils/exposeLibraries.js b/server/sonar-web/src/main/js/app/utils/exposeLibraries.js index 8102c75f7bf..778ecba33fe 100644 --- a/server/sonar-web/src/main/js/app/utils/exposeLibraries.js +++ b/server/sonar-web/src/main/js/app/utils/exposeLibraries.js @@ -19,6 +19,7 @@ */ import moment from 'moment'; import * as ReactRedux from 'react-redux'; +import * as ReactRouter from 'react-router'; import Select from 'react-select'; import Modal from 'react-modal'; import * as measures from '../../helpers/measures'; @@ -30,6 +31,7 @@ import Tooltip from '../../components/controls/Tooltip'; const exposeLibraries = () => { window.moment = moment; window.ReactRedux = ReactRedux; + window.ReactRouter = ReactRouter; window.SonarMeasures = measures; window.SonarRequest = request; window.SonarComponents = { |