the charts library should only be used in the inner scope

pull/1/head
ansuz 3 years ago
parent 9ecb9e4cd6
commit 93f73add9f

@ -23,6 +23,7 @@ define([
'/common/inner/share.js', '/common/inner/share.js',
'/common/inner/access.js', '/common/inner/access.js',
'/common/inner/properties.js', '/common/inner/properties.js',
'/common/inner/charts.js',
'/lib/datepicker/flatpickr.js', '/lib/datepicker/flatpickr.js',
'/bower_components/sortablejs/Sortable.min.js', '/bower_components/sortablejs/Sortable.min.js',
@ -60,7 +61,7 @@ define([
DiffMd, DiffMd,
SFCodeMirror, SFCodeMirror,
CMeditor, CMeditor,
Share, Access, Properties, Share, Access, Properties, Charts,
Flatpickr, Flatpickr,
Sortable Sortable
) )

@ -1,6 +1,6 @@
define([ define([
'/common/hyperscript.js', '/common/hyperscript.js',
'/common/common-charts.js', '/common/inner/charts.js',
'/common/common-util.js', '/common/common-util.js',
], function (h, Charts, Util) { ], function (h, Charts, Util) {
var wrap = function (content) { var wrap = function (content) {

Loading…
Cancel
Save