diff --git a/.gitignore b/.gitignore index 94b9e97f0e1..92d45effb87 100644 --- a/.gitignore +++ b/.gitignore @@ -13,8 +13,6 @@ docs/changed-files docs/changed-files # locally required config files -web.config -config.js src/css/*.min.css # Editor junk diff --git a/public/app/components/config.js b/public/app/components/config.js new file mode 100644 index 00000000000..e26a55e097b --- /dev/null +++ b/public/app/components/config.js @@ -0,0 +1,12 @@ +define([ + 'settings', +], +function (Settings) { + "use strict"; + + var bootData = window.grafanaBootData || { settings: {} }; + var options = bootData.settings; + + return new Settings(options); + +});