提交 5f8163c1 编写于 作者: S sushuang

tweak license.

上级 78fd6485
......@@ -213,11 +213,46 @@ notices and license terms. Your use of the source code for these
subcomponents is subject to the terms and conditions of the following
licenses.
[BSD 3-Clause] <https://github.com/ecomfe/zrender> is used as the render
engine. See <licenses/LICENSE-zrender> for details.
[BSD 3-Clause] Some of the implementation listed below refer to the logics
from <https://github.com/d3/d3>: <src/chart/treemap/treemapLayout.js>,
<src/chart/tree/layoutHelper.js>, <src/chart/graph/forceHelper.js>,
<src/util/array/nest.js>, <src/scale/Time.js>.
See <licenses/LICENSE-d3> for details.
BSD 3-Clause (zrender):
The following files embed [zrender](https://github.com/ecomfe/zrender) BSD 3-Clause:
`dist/echarts-en.common.js`,
`dist/echarts-en.common.min.js`,
`dist/echarts-en.js`,
`dist/echarts-en.min.js`,
`dist/echarts-en.simple.js`,
`dist/echarts-en.simple.min.js`,
`dist/echarts.common.js`,
`dist/echarts.common.min.js`,
`dist/echarts.js`,
`dist/echarts.min.js`,
`dist/echarts.simple.js`,
`dist/echarts.simple.min.js`,
See `licenses/LICENSE-zrender` for details of the license.
BSD 3-Clause (d3.js):
The following files embed [d3.js](https://github.com/d3/d3) BSD 3-Clause:
`src/chart/treemap/treemapLayout.js`,
`src/chart/tree/layoutHelper.js`,
`src/chart/graph/forceHelper.js`,
`src/util/array/nest.js`,
`src/scale/Time.js`,
`lib/chart/treemap/treemapLayout.js`,
`lib/chart/tree/layoutHelper.js`,
`lib/chart/graph/forceHelper.js`,
`lib/util/array/nest.js`,
`lib/scale/Time.js`,
`extension-src/dataTool/quantile.js`,
`extension/dataTool/quantile.js`,
`dist/echarts-en.common.js`,
`dist/echarts-en.common.min.js`,
`dist/echarts-en.js`,
`dist/echarts-en.min.js`,
`dist/echarts-en.simple.js`,
`dist/echarts-en.simple.min.js`,
`dist/echarts.common.js`,
`dist/echarts.common.min.js`,
`dist/echarts.js`,
`dist/echarts.min.js`,
`dist/echarts.simple.js`,
`dist/echarts.simple.min.js`,
See `licenses/LICENSE-d3` for details of the license.
......@@ -20,26 +20,7 @@
const glob = require('glob');
const fs = require('fs');
const headerStr = `/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
`;
const headerStr = reuqire('./preamble');
const lists = [
'../src/**/*.js',
......
......@@ -17,4 +17,5 @@ module.exports = `
* specific language governing permissions and limitations
* under the License.
*/
`;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册