Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
missman
incubator-echarts
提交
3e721e12
I
incubator-echarts
项目概览
missman
/
incubator-echarts
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
incubator-echarts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3e721e12
编写于
11月 11, 2017
作者:
S
sushuang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add dev declarations.
上级
71b5d2b2
变更
32
隐藏空白更改
内联
并排
Showing
32 changed file
with
43 addition
and
14 deletion
+43
-14
.jshintrc
.jshintrc
+0
-1
build/config.js
build/config.js
+1
-3
src/chart/bar/BarView.js
src/chart/bar/BarView.js
+1
-0
src/chart/custom.js
src/chart/custom.js
+1
-0
src/chart/heatmap/HeatmapView.js
src/chart/heatmap/HeatmapView.js
+1
-0
src/chart/helper/createListFromArray.js
src/chart/helper/createListFromArray.js
+1
-0
src/chart/line/LineSeries.js
src/chart/line/LineSeries.js
+1
-0
src/chart/line/LineView.js
src/chart/line/LineView.js
+1
-0
src/chart/lines/LinesSeries.js
src/chart/lines/LinesSeries.js
+1
-0
src/chart/lines/LinesView.js
src/chart/lines/LinesView.js
+1
-0
src/chart/lines/linesLayout.js
src/chart/lines/linesLayout.js
+1
-0
src/component/axis/AxisView.js
src/component/axis/AxisView.js
+1
-0
src/component/brush/BrushModel.js
src/component/brush/BrushModel.js
+1
-0
src/component/dataZoom/DataZoomModel.js
src/component/dataZoom/DataZoomModel.js
+1
-0
src/component/graphic.js
src/component/graphic.js
+1
-0
src/component/helper/BrushController.js
src/component/helper/BrushController.js
+1
-0
src/component/helper/BrushTargetManager.js
src/component/helper/BrushTargetManager.js
+1
-0
src/component/legend/LegendView.js
src/component/legend/LegendView.js
+1
-0
src/component/marker/MarkerModel.js
src/component/marker/MarkerModel.js
+1
-0
src/component/radar/RadarView.js
src/component/radar/RadarView.js
+1
-0
src/component/visualMap/PiecewiseModel.js
src/component/visualMap/PiecewiseModel.js
+1
-0
src/config.js
src/config.js
+13
-10
src/coord/axisHelper.js
src/coord/axisHelper.js
+1
-0
src/coord/cartesian/Grid.js
src/coord/cartesian/Grid.js
+1
-0
src/coord/geo/geoCreator.js
src/coord/geo/geoCreator.js
+1
-0
src/coord/polar/polarCreator.js
src/coord/polar/polarCreator.js
+1
-0
src/data/Graph.js
src/data/Graph.js
+1
-0
src/data/List.js
src/data/List.js
+1
-0
src/echarts.js
src/echarts.js
+1
-0
src/model/Global.js
src/model/Global.js
+1
-0
src/model/Series.js
src/model/Series.js
+1
-0
src/util/clazz.js
src/util/clazz.js
+1
-0
未找到文件。
.jshintrc
浏览文件 @
3e721e12
...
...
@@ -65,7 +65,6 @@
"white": false,
"predef": [
"__DEV__",
"global"
]
}
\ No newline at end of file
build/config.js
浏览文件 @
3e721e12
...
...
@@ -15,9 +15,7 @@ function getPathBasedOnECharts(path) {
* @param {boolean} [addBundleVersion=false]
*/
function
getPlugins
(
min
,
lang
,
addBundleVersion
)
{
let
plugins
=
[
ecDevPlugin
()
];
let
plugins
=
[];
lang
&&
plugins
.
push
(
ecLangPlugin
({
lang
})
...
...
src/chart/bar/BarView.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../../config
'
;
import
*
as
echarts
from
'
../../echarts
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
*
as
graphic
from
'
../../util/graphic
'
;
...
...
src/chart/custom.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../config
'
;
import
*
as
echarts
from
'
../echarts
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
*
as
graphicUtil
from
'
../util/graphic
'
;
...
...
src/chart/heatmap/HeatmapView.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../../config
'
;
import
*
as
echarts
from
'
../../echarts
'
;
import
*
as
graphic
from
'
../../util/graphic
'
;
import
HeatmapLayer
from
'
./HeatmapLayer
'
;
...
...
src/chart/helper/createListFromArray.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../../config
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
List
from
'
../../data/List
'
;
import
completeDimensions
from
'
../../data/helper/completeDimensions
'
;
...
...
src/chart/line/LineSeries.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../../config
'
;
import
createListFromArray
from
'
../helper/createListFromArray
'
;
import
SeriesModel
from
'
../../model/Series
'
;
...
...
src/chart/line/LineView.js
浏览文件 @
3e721e12
// FIXME step not support polar
import
{
__DEV__
}
from
'
../../config
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
SymbolDraw
from
'
../helper/SymbolDraw
'
;
import
SymbolClz
from
'
../helper/Symbol
'
;
...
...
src/chart/lines/LinesSeries.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../../config
'
;
import
SeriesModel
from
'
../../model/Series
'
;
import
List
from
'
../../data/List
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
...
...
src/chart/lines/LinesView.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../../config
'
;
import
*
as
echarts
from
'
../../echarts
'
;
import
LineDraw
from
'
../helper/LineDraw
'
;
import
EffectLine
from
'
../helper/EffectLine
'
;
...
...
src/chart/lines/linesLayout.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../../config
'
;
export
default
function
(
ecModel
)
{
ecModel
.
eachSeriesByType
(
'
lines
'
,
function
(
seriesModel
)
{
...
...
src/component/axis/AxisView.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../../config
'
;
import
*
as
echarts
from
'
../../echarts
'
;
import
*
as
axisPointerModelHelper
from
'
../axisPointer/modelHelper
'
;
...
...
src/component/brush/BrushModel.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../../config
'
;
import
*
as
echarts
from
'
../../echarts
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
*
as
visualSolution
from
'
../../visual/visualSolution
'
;
...
...
src/component/dataZoom/DataZoomModel.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../../config
'
;
import
*
as
echarts
from
'
../../echarts
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
env
from
'
zrender/src/core/env
'
;
...
...
src/component/graphic.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../config
'
;
import
*
as
echarts
from
'
../echarts
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
...
...
src/component/helper/BrushController.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../../config
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
Eventful
from
'
zrender/src/mixin/Eventful
'
;
import
*
as
graphic
from
'
../../util/graphic
'
;
...
...
src/component/helper/BrushTargetManager.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../../config
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
*
as
graphic
from
'
../../util/graphic
'
;
import
*
as
modelUtil
from
'
../../util/model
'
;
...
...
src/component/legend/LegendView.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../../config
'
;
import
*
as
echarts
from
'
../../echarts
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
{
createSymbol
}
from
'
../../util/symbol
'
;
...
...
src/component/marker/MarkerModel.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../../config
'
;
import
*
as
echarts
from
'
../../echarts
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
env
from
'
zrender/src/core/env
'
;
...
...
src/component/radar/RadarView.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../../config
'
;
import
*
as
echarts
from
'
../../echarts
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
AxisBuilder
from
'
../axis/AxisBuilder
'
;
...
...
src/component/visualMap/PiecewiseModel.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../../config
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
VisualMapModel
from
'
./VisualMapModel
'
;
import
VisualMapping
from
'
../../visual/VisualMapping
'
;
...
...
src/config.js
浏览文件 @
3e721e12
...
...
@@ -2,13 +2,16 @@
// Enable DEV mode when using source code without build. which has no __DEV__ variable
// In build process 'typeof __DEV__' will be replace with 'boolean'
// So this code will be removed or disabled anyway after built.
if
(
typeof
__DEV__
===
'
undefined
'
)
{
// In browser
if
(
typeof
window
!==
'
undefined
'
)
{
window
.
__DEV__
=
true
;
}
// In node
else
if
(
typeof
global
!==
'
undefined
'
)
{
global
.
__DEV__
=
true
;
}
}
// if (typeof __DEV__ === 'undefined') {
// // In browser
// if (typeof window !== 'undefined') {
// window.__DEV__ = true;
// }
// // In node
// else if (typeof global !== 'undefined') {
// global.__DEV__ = true;
// }
// }
export
var
__DEV__
=
true
;
src/coord/axisHelper.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../config
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
*
as
textContain
from
'
zrender/src/contain/text
'
;
import
OrdinalScale
from
'
../scale/Ordinal
'
;
...
...
src/coord/cartesian/Grid.js
浏览文件 @
3e721e12
...
...
@@ -4,6 +4,7 @@
* TODO Default cartesian
*/
import
{
__DEV__
}
from
'
../../config
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
BoundingRect
from
'
zrender/src/core/BoundingRect
'
;
import
{
getLayoutRect
}
from
'
../../util/layout
'
;
...
...
src/coord/geo/geoCreator.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../../config
'
;
import
*
as
echarts
from
'
../../echarts
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
Geo
from
'
./Geo
'
;
...
...
src/coord/polar/polarCreator.js
浏览文件 @
3e721e12
// TODO Axis scale
import
{
__DEV__
}
from
'
../../config
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
Polar
from
'
./Polar
'
;
import
{
parsePercent
}
from
'
../../util/number
'
;
...
...
src/data/Graph.js
浏览文件 @
3e721e12
...
...
@@ -5,6 +5,7 @@
* @author Yi Shen(https://www.github.com/pissang)
*/
import
{
__DEV__
}
from
'
../config
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
// id may be function name of Object, add a prefix to avoid this problem.
...
...
src/data/List.js
浏览文件 @
3e721e12
...
...
@@ -3,6 +3,7 @@
* @module echarts/data/List
*/
import
{
__DEV__
}
from
'
../config
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
Model
from
'
../model/Model
'
;
import
DataDiffer
from
'
./DataDiffer
'
;
...
...
src/echarts.js
浏览文件 @
3e721e12
...
...
@@ -9,6 +9,7 @@
* https://github.com/ecomfe/echarts/blob/master/LICENSE.txt
*/
import
{
__DEV__
}
from
'
./config
'
;
import
*
as
zrender
from
'
zrender/src/zrender
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
*
as
colorTool
from
'
zrender/src/tool/color
'
;
...
...
src/model/Global.js
浏览文件 @
3e721e12
...
...
@@ -18,6 +18,7 @@
* `mergeOption` in module:echarts/model/OptionManager.
*/
import
{
__DEV__
}
from
'
../config
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
*
as
modelUtil
from
'
../util/model
'
;
import
Model
from
'
./Model
'
;
...
...
src/model/Series.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../config
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
import
env
from
'
zrender/src/core/env
'
;
import
{
...
...
src/util/clazz.js
浏览文件 @
3e721e12
import
{
__DEV__
}
from
'
../config
'
;
import
*
as
zrUtil
from
'
zrender/src/core/util
'
;
var
TYPE_DELIMITER
=
'
.
'
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录