mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Updated gitignore and added config.js
This commit is contained in:
parent
a20c276c84
commit
ce99e7b294
2
.gitignore
vendored
2
.gitignore
vendored
@ -13,8 +13,6 @@ docs/changed-files
|
||||
docs/changed-files
|
||||
|
||||
# locally required config files
|
||||
web.config
|
||||
config.js
|
||||
src/css/*.min.css
|
||||
|
||||
# Editor junk
|
||||
|
12
public/app/components/config.js
Normal file
12
public/app/components/config.js
Normal file
@ -0,0 +1,12 @@
|
||||
define([
|
||||
'settings',
|
||||
],
|
||||
function (Settings) {
|
||||
"use strict";
|
||||
|
||||
var bootData = window.grafanaBootData || { settings: {} };
|
||||
var options = bootData.settings;
|
||||
|
||||
return new Settings(options);
|
||||
|
||||
});
|
Loading…
Reference in New Issue
Block a user