Skip to content

Commit

Permalink
chore: only depends on echarts/lib/echarts on theme and i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
pissang committed Dec 28, 2020
1 parent 273d963 commit 10357d3
Show file tree
Hide file tree
Showing 43 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion build/build-i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ ${preamble.js}
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion i18n/langDE.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion i18n/langEN.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion i18n/langES.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion i18n/langFI.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion i18n/langFR.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion i18n/langJA.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion i18n/langTH.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion i18n/langZH.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/azul.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/bee-inspired.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/blue.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/caravan.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/carp.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/cool.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/dark-blue.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/dark-bold.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/dark-digerati.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/dark-fresh-cut.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/dark-mushroom.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/dark.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/eduardo.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/forest.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/fresh-cut.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/fruit.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/gray.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/green.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/helianthus.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/infographic.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/inspired.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/jazz.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/london.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/macarons.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/macarons2.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/mint.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/red-velvet.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/red.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/roma.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/royal.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/sakura.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/shine.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/tech-blue.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down
2 changes: 1 addition & 1 deletion theme/vintage.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
factory(exports, require('echarts/lib/echarts'));
} else {
// Browser globals
factory({}, root.echarts);
Expand Down

0 comments on commit 10357d3

Please sign in to comment.