diff --git a/doc/slide/js/whyEcharts-en.js b/doc/slide/js/whyEcharts-en.js
index 685222493a4a18b8146e1458eb66601c116fe3bc..8adf6589187a45f4a793f6398f986d1bfc15d611 100644
--- a/doc/slide/js/whyEcharts-en.js
+++ b/doc/slide/js/whyEcharts-en.js
@@ -1,4 +1,4 @@
-var developMode = true;
+var developMode = false;
if (developMode) {
// for develop
@@ -23,21 +23,9 @@ if (developMode) {
}
else {
// for echarts online home page
- var fileLocation = '../../doc/example/www/js/echarts-map';
require.config({
paths:{
- echarts: fileLocation,
- 'echarts/chart/line': fileLocation,
- 'echarts/chart/bar': fileLocation,
- 'echarts/chart/scatter': fileLocation,
- 'echarts/chart/k': fileLocation,
- 'echarts/chart/pie': fileLocation,
- 'echarts/chart/radar': fileLocation,
- 'echarts/chart/map': fileLocation,
- 'echarts/chart/chord': fileLocation,
- 'echarts/chart/force': fileLocation,
- 'echarts/chart/gauge': fileLocation,
- 'echarts/chart/funnel': fileLocation,
+ echarts: '../../doc/example/www/js',
webkitDep : '../../doc/example/webkit-dep'
}
});
diff --git a/doc/slide/js/whyEcharts.js b/doc/slide/js/whyEcharts.js
index 5241b3ef1d74fa44cb79914fe30975a8120679a6..8bc311c4cc5f6678e7261d6105f80869218ffcab 100644
--- a/doc/slide/js/whyEcharts.js
+++ b/doc/slide/js/whyEcharts.js
@@ -1,4 +1,4 @@
-var developMode = true;
+var developMode = false;
if (developMode) {
// for develop
@@ -23,21 +23,9 @@ if (developMode) {
}
else {
// for echarts online home page
- var fileLocation = '../../doc/example/www/js/echarts-map';
require.config({
paths:{
- echarts: fileLocation,
- 'echarts/chart/line': fileLocation,
- 'echarts/chart/bar': fileLocation,
- 'echarts/chart/scatter': fileLocation,
- 'echarts/chart/k': fileLocation,
- 'echarts/chart/pie': fileLocation,
- 'echarts/chart/radar': fileLocation,
- 'echarts/chart/map': fileLocation,
- 'echarts/chart/chord': fileLocation,
- 'echarts/chart/force': fileLocation,
- 'echarts/chart/gauge': fileLocation,
- 'echarts/chart/funnel': fileLocation,
+ echarts: '../../doc/example/www/js',
webkitDep : '../../doc/example/webkit-dep'
}
});
diff --git a/doc/slide/whyEcharts-en.html b/doc/slide/whyEcharts-en.html
index 3cb372b39ef65a36827287292c7c81a96ea58069..7f04b733f4f4017a1f2f488ee7331021d3885caa 100644
--- a/doc/slide/whyEcharts-en.html
+++ b/doc/slide/whyEcharts-en.html
@@ -28,7 +28,6 @@
-