mirror of
https://github.com/grafana/grafana.git
synced 2026-07-29 15:59:50 -05:00
Updated gitignore and added config.js
This commit is contained in:
@@ -13,8 +13,6 @@ docs/changed-files
|
||||
docs/changed-files
|
||||
|
||||
# locally required config files
|
||||
web.config
|
||||
config.js
|
||||
src/css/*.min.css
|
||||
|
||||
# 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