Updated gitignore and added config.js
This commit is contained in:
@@ -13,8 +13,6 @@ docs/changed-files
|
|||||||
docs/changed-files
|
docs/changed-files
|
||||||
|
|
||||||
# locally required config files
|
# locally required config files
|
||||||
web.config
|
|
||||||
config.js
|
|
||||||
src/css/*.min.css
|
src/css/*.min.css
|
||||||
|
|
||||||
# Editor junk
|
# Editor junk
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
define([
|
||||||
|
'settings',
|
||||||
|
],
|
||||||
|
function (Settings) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
var bootData = window.grafanaBootData || { settings: {} };
|
||||||
|
var options = bootData.settings;
|
||||||
|
|
||||||
|
return new Settings(options);
|
||||||
|
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user