Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
半栈学徒
incubator-echarts
提交
4c916f52
I
incubator-echarts
项目概览
半栈学徒
/
incubator-echarts
与 Fork 源项目一致
从无法访问的项目Fork
通知
5
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,发现更多精彩内容 >>
未验证
提交
4c916f52
编写于
8月 24, 2020
作者:
Y
Yi Shen
提交者:
GitHub
8月 24, 2020
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #13169 from susiwen8/eslint
Fix lint problem in next
上级
2deacbd5
34d288d1
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
76 addition
and
61 deletion
+76
-61
package.json
package.json
+1
-0
src/.eslintrc.yaml
src/.eslintrc.yaml
+0
-1
src/component/geo.ts
src/component/geo.ts
+1
-0
src/component/parallel.ts
src/component/parallel.ts
+1
-0
src/i18n/langES.ts
src/i18n/langES.ts
+19
-19
src/i18n/langFI.ts
src/i18n/langFI.ts
+19
-19
src/i18n/langTH.ts
src/i18n/langTH.ts
+19
-19
src/scale/Interval.ts
src/scale/Interval.ts
+1
-1
src/scale/Ordinal.ts
src/scale/Ordinal.ts
+8
-1
src/scale/Scale.ts
src/scale/Scale.ts
+7
-1
未找到文件。
package.json
浏览文件 @
4c916f52
...
...
@@ -32,6 +32,7 @@
"mktest"
:
"node test/build/mktest.js"
,
"mktest:help"
:
"node test/build/mktest.js -h"
,
"lint"
:
"./node_modules/.bin/eslint src/**/*.ts extension-src/**/*.ts"
,
"lint:fix"
:
"./node_modules/.bin/eslint --fix src/**/*.ts extension-src/**/*.ts"
,
"lint:dist"
:
"echo 'It might take a while. Please wait ...' && ./node_modules/.bin/jshint --config .jshintrc-dist dist/echarts.js"
},
"dependencies"
:
{
...
...
src/.eslintrc.yaml
浏览文件 @
4c916f52
...
...
@@ -116,7 +116,6 @@ rules:
exceptions
:
Property
:
true
no-new-object
:
2
no-spaced-func
:
2
no-trailing-spaces
:
2
no-extra-parens
:
-
2
...
...
src/component/geo.ts
浏览文件 @
4c916f52
...
...
@@ -28,6 +28,7 @@ import { ActionInfo } from '../util/types';
// NOTE: DONT Remove this import, or GeoModel will be treeshaked.
import
'
../coord/geo/GeoModel
'
;
/* eslint-disable-next-line */
import
GeoModel
from
'
../coord/geo/GeoModel
'
;
function
makeAction
(
...
...
src/component/parallel.ts
浏览文件 @
4c916f52
...
...
@@ -28,6 +28,7 @@ import GlobalModel from '../model/Global';
// NOTE: DONT Remove this import, or GeoModel will be treeshaked.
import
'
../coord/parallel/ParallelModel
'
;
/* eslint-disable-next-line */
import
ParallelModel
,
{
ParallelCoordinateSystemOption
}
from
'
../coord/parallel/ParallelModel
'
;
import
ExtensionAPI
from
'
../ExtensionAPI
'
;
import
ComponentView
from
'
../view/Component
'
;
...
...
src/i18n/langES.ts
浏览文件 @
4c916f52
...
...
@@ -36,45 +36,45 @@ export default {
},
legend
:
{
selector
:
{
all
:
"
Todas
"
,
inverse
:
"
Inversa
"
all
:
'
Todas
'
,
inverse
:
'
Inversa
'
}
},
toolbox
:
{
brush
:
{
title
:
{
rect
:
"
Selección de cuadro
"
,
polygon
:
"
Selección de lazo
"
,
lineX
:
"
Seleccionar horizontalmente
"
,
lineY
:
"
Seleccionar verticalmente
"
,
keep
:
"
Mantener selección
"
,
clear
:
"
Despejar selecciones
"
rect
:
'
Selección de cuadro
'
,
polygon
:
'
Selección de lazo
'
,
lineX
:
'
Seleccionar horizontalmente
'
,
lineY
:
'
Seleccionar verticalmente
'
,
keep
:
'
Mantener selección
'
,
clear
:
'
Despejar selecciones
'
}
},
dataView
:
{
title
:
"
Ver datos
"
,
lang
:
[
"
Ver datos
"
,
"
Cerrar
"
,
"
Actualizar
"
]
title
:
'
Ver datos
'
,
lang
:
[
'
Ver datos
'
,
'
Cerrar
'
,
'
Actualizar
'
]
},
dataZoom
:
{
title
:
{
zoom
:
"
Zoom
"
,
back
:
"
Restablecer zoom
"
zoom
:
'
Zoom
'
,
back
:
'
Restablecer zoom
'
}
},
magicType
:
{
title
:
{
line
:
"
Cambiar a gráfico de líneas
"
,
bar
:
"
Cambiar a gráfico de barras
"
,
stack
:
"
Pila
"
,
tiled
:
"
Teja
"
line
:
'
Cambiar a gráfico de líneas
'
,
bar
:
'
Cambiar a gráfico de barras
'
,
stack
:
'
Pila
'
,
tiled
:
'
Teja
'
}
},
restore
:
{
title
:
"
Restaurar
"
title
:
'
Restaurar
'
},
saveAsImage
:
{
title
:
"
Guardar como imagen
"
,
lang
:
[
"
Clic derecho para guardar imagen
"
]
title
:
'
Guardar como imagen
'
,
lang
:
[
'
Clic derecho para guardar imagen
'
]
}
}
};
src/i18n/langFI.ts
浏览文件 @
4c916f52
...
...
@@ -36,45 +36,45 @@ export default {
},
legend
:
{
selector
:
{
all
:
"
Kaikki
"
,
inverse
:
"
Käänteinen
"
all
:
'
Kaikki
'
,
inverse
:
'
Käänteinen
'
}
},
toolbox
:
{
brush
:
{
title
:
{
rect
:
"
Laatikko valinta
"
,
polygon
:
"
Lasso valinta
"
,
lineX
:
"
Vaakataso valinta
"
,
lineY
:
"
Pysty valinta
"
,
keep
:
"
Pidä valinta
"
,
clear
:
"
Poista valinta
"
rect
:
'
Laatikko valinta
'
,
polygon
:
'
Lasso valinta
'
,
lineX
:
'
Vaakataso valinta
'
,
lineY
:
'
Pysty valinta
'
,
keep
:
'
Pidä valinta
'
,
clear
:
'
Poista valinta
'
}
},
dataView
:
{
title
:
"
Data näkymä
"
,
lang
:
[
"
Data näkymä
"
,
"
Sulje
"
,
"
Päivitä
"
]
title
:
'
Data näkymä
'
,
lang
:
[
'
Data näkymä
'
,
'
Sulje
'
,
'
Päivitä
'
]
},
dataZoom
:
{
title
:
{
zoom
:
"
Zoomaa
"
,
back
:
"
Zoomin nollaus
"
zoom
:
'
Zoomaa
'
,
back
:
'
Zoomin nollaus
'
}
},
magicType
:
{
title
:
{
line
:
"
Vaihda Viivakaavioon
"
,
bar
:
"
Vaihda palkkikaavioon
"
,
stack
:
"
Pinoa
"
,
tiled
:
"
Erottele
"
line
:
'
Vaihda Viivakaavioon
'
,
bar
:
'
Vaihda palkkikaavioon
'
,
stack
:
'
Pinoa
'
,
tiled
:
'
Erottele
'
}
},
restore
:
{
title
:
"
Palauta
"
title
:
'
Palauta
'
},
saveAsImage
:
{
title
:
"
Tallenna kuvana
"
,
lang
:
[
"
Paina oikeaa hiirennappia tallentaaksesi kuva
"
]
title
:
'
Tallenna kuvana
'
,
lang
:
[
'
Paina oikeaa hiirennappia tallentaaksesi kuva
'
]
}
}
};
src/i18n/langTH.ts
浏览文件 @
4c916f52
...
...
@@ -36,45 +36,45 @@ export default {
},
legend
:
{
selector
:
{
all
:
"
ทั้งหมด
"
,
inverse
:
"
ผกผัน
"
all
:
'
ทั้งหมด
'
,
inverse
:
'
ผกผัน
'
}
},
toolbox
:
{
brush
:
{
title
:
{
rect
:
"
ตัวเลือกแบบกล่อง
"
,
polygon
:
"
ตัวเลือกแบบบ่วงบาศ
"
,
lineX
:
"
ตัวเลือกแบบแนวนอน
"
,
lineY
:
"
ตัวเลือกแบบแนวตั้ง
"
,
keep
:
"
บันทึกตัวเลือก
"
,
clear
:
"
ล้างตัวเลือก
"
rect
:
'
ตัวเลือกแบบกล่อง
'
,
polygon
:
'
ตัวเลือกแบบบ่วงบาศ
'
,
lineX
:
'
ตัวเลือกแบบแนวนอน
'
,
lineY
:
'
ตัวเลือกแบบแนวตั้ง
'
,
keep
:
'
บันทึกตัวเลือก
'
,
clear
:
'
ล้างตัวเลือก
'
}
},
dataView
:
{
title
:
"
มุมมองข้อมูล
"
,
lang
:
[
"
มุมมองข้อมูล
"
,
"
ปิด
"
,
"
รีเฟรช
"
]
title
:
'
มุมมองข้อมูล
'
,
lang
:
[
'
มุมมองข้อมูล
'
,
'
ปิด
'
,
'
รีเฟรช
'
]
},
dataZoom
:
{
title
:
{
zoom
:
"
ซูม
"
,
back
:
"
ตั้งซูมใหม่
"
zoom
:
'
ซูม
'
,
back
:
'
ตั้งซูมใหม่
'
}
},
magicType
:
{
title
:
{
line
:
"
สวิตซ์แบบแผนภาพเส้น
"
,
bar
:
"
สวิตซ์แบบแผนภาพแท่ง
"
,
stack
:
"
กองไว้
"
,
tiled
:
"
แยกไว้
"
line
:
'
สวิตซ์แบบแผนภาพเส้น
'
,
bar
:
'
สวิตซ์แบบแผนภาพแท่ง
'
,
stack
:
'
กองไว้
'
,
tiled
:
'
แยกไว้
'
}
},
restore
:
{
title
:
"
ตั้งค่าใหม่
"
title
:
'
ตั้งค่าใหม่
'
},
saveAsImage
:
{
title
:
"
บันทึกไปยังรูปภาพ
"
,
lang
:
[
"
คลิกขวาเพื่อบันทึกรูปภาพ
"
]
title
:
'
บันทึกไปยังรูปภาพ
'
,
lang
:
[
'
คลิกขวาเพื่อบันทึกรูปภาพ
'
]
}
}
};
src/scale/Interval.ts
浏览文件 @
4c916f52
...
...
@@ -22,7 +22,7 @@ import * as numberUtil from '../util/number';
import
*
as
formatUtil
from
'
../util/format
'
;
import
Scale
from
'
./Scale
'
;
import
*
as
helper
from
'
./helper
'
;
import
{
ScaleTick
,
ParsedValue
}
from
'
../util/types
'
;
import
{
ScaleTick
}
from
'
../util/types
'
;
const
roundNumber
=
numberUtil
.
round
;
...
...
src/scale/Ordinal.ts
浏览文件 @
4c916f52
...
...
@@ -28,7 +28,14 @@ import Scale from './Scale';
import
OrdinalMeta
from
'
../data/OrdinalMeta
'
;
import
List
from
'
../data/List
'
;
import
*
as
scaleHelper
from
'
./helper
'
;
import
{
OrdinalRawValue
,
OrdinalNumber
,
DimensionLoose
,
OrdinalSortInfo
,
OrdinalScaleTick
,
ScaleTick
}
from
'
../util/types
'
;
import
{
OrdinalRawValue
,
OrdinalNumber
,
DimensionLoose
,
OrdinalSortInfo
,
OrdinalScaleTick
,
ScaleTick
}
from
'
../util/types
'
;
import
{
AxisBaseOption
}
from
'
../coord/axisCommonTypes
'
;
import
{
isArray
}
from
'
zrender/src/core/util
'
;
...
...
src/scale/Scale.ts
浏览文件 @
4c916f52
...
...
@@ -21,7 +21,13 @@
import
*
as
clazzUtil
from
'
../util/clazz
'
;
import
{
Dictionary
}
from
'
zrender/src/core/types
'
;
import
List
from
'
../data/List
'
;
import
{
DimensionName
,
ScaleDataValue
,
OptionDataValue
,
DimensionLoose
,
ScaleTick
,
ParsedValue
}
from
'
../util/types
'
;
import
{
DimensionName
,
ScaleDataValue
,
OptionDataValue
,
DimensionLoose
,
ScaleTick
}
from
'
../util/types
'
;
import
{
ScaleRawExtentInfo
}
from
'
../coord/scaleRawExtentInfo
'
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录