This commit is contained in:
Administrator
2020-12-09 14:04:30 +08:00
parent 6c9eb7bb80
commit 4b58e04f9e
+5 -3
View File
@@ -18,9 +18,11 @@
*/
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['exports', 'echarts'], factory);
// eslint-disable-next-line
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
// eslint-disable-next-line
define(['exports', 'echarts'], factory);
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
// CommonJS
factory(exports, require('echarts'));