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/access.js',
'/common/inner/properties.js',
'/common/inner/charts.js',
'/lib/datepicker/flatpickr.js',
'/bower_components/sortablejs/Sortable.min.js',
@ -60,7 +61,7 @@ define([
DiffMd,
SFCodeMirror,
CMeditor,
Share, Access, Properties,
Share, Access, Properties, Charts,
Flatpickr,
Sortable
)

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

Loading…
Cancel
Save