Skip to content

Commit 3e721e1

Browse files
committed
add dev declarations.
1 parent 71b5d2b commit 3e721e1

32 files changed

+43
-14
lines changed

.jshintrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
"white": false,
6666

6767
"predef": [
68-
"__DEV__",
6968
"global"
7069
]
7170
}

build/config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ function getPathBasedOnECharts(path) {
1515
* @param {boolean} [addBundleVersion=false]
1616
*/
1717
function getPlugins(min, lang, addBundleVersion) {
18-
let plugins = [
19-
ecDevPlugin()
20-
];
18+
let plugins = [];
2119

2220
lang && plugins.push(
2321
ecLangPlugin({lang})

src/chart/bar/BarView.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import {__DEV__} from '../../config';
12
import * as echarts from '../../echarts';
23
import * as zrUtil from 'zrender/src/core/util';
34
import * as graphic from '../../util/graphic';

src/chart/custom.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import {__DEV__} from '../config';
12
import * as echarts from '../echarts';
23
import * as zrUtil from 'zrender/src/core/util';
34
import * as graphicUtil from '../util/graphic';

src/chart/heatmap/HeatmapView.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import {__DEV__} from '../../config';
12
import * as echarts from '../../echarts';
23
import * as graphic from '../../util/graphic';
34
import HeatmapLayer from './HeatmapLayer';

src/chart/helper/createListFromArray.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import {__DEV__} from '../../config';
12
import * as zrUtil from 'zrender/src/core/util';
23
import List from '../../data/List';
34
import completeDimensions from '../../data/helper/completeDimensions';

src/chart/line/LineSeries.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import {__DEV__} from '../../config';
12
import createListFromArray from '../helper/createListFromArray';
23
import SeriesModel from '../../model/Series';
34

src/chart/line/LineView.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// FIXME step not support polar
22

3+
import {__DEV__} from '../../config';
34
import * as zrUtil from 'zrender/src/core/util';
45
import SymbolDraw from '../helper/SymbolDraw';
56
import SymbolClz from '../helper/Symbol';

src/chart/lines/LinesSeries.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import {__DEV__} from '../../config';
12
import SeriesModel from '../../model/Series';
23
import List from '../../data/List';
34
import * as zrUtil from 'zrender/src/core/util';

src/chart/lines/LinesView.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import {__DEV__} from '../../config';
12
import * as echarts from '../../echarts';
23
import LineDraw from '../helper/LineDraw';
34
import EffectLine from '../helper/EffectLine';

0 commit comments

Comments
 (0)