grafana/public/app/core/settings.js
Torkel Ödegaard ee0e4d2b69 Merge branch 'master' into external-plugins
Conflicts:
	public/app/plugins/panels/table/editor.ts
	public/views/index.html
2015-12-02 18:30:48 +01:00

21 lines
439 B
JavaScript

define([
'lodash',
],
function (_) {
"use strict";
return function Settings (options) {
var defaults = {
datasources : {},
window_title_prefix : 'Grafana - ',
panels : {},
new_panel_title: 'Panel Title',
playlist_timespan: "1m",
unsaved_changes_warning: true,
appSubUrl: ""
};
return _.extend({}, defaults, options);
};
});