From b358ab0d23849971f2c9fe935f9810e06f65b4d0 Mon Sep 17 00:00:00 2001 From: lang Date: Mon, 30 Nov 2015 21:42:52 +0800 Subject: [PATCH] Add README, LICENSE --- LICENSE | 28 ++++++++++++++++++++++++++++ README.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 LICENSE create mode 100644 README.md diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..470f446db --- /dev/null +++ b/LICENSE @@ -0,0 +1,28 @@ +Copyright (c) 2013, Baidu Inc. +All rights reserved. + +Redistribution and use of this software in source and binary forms, with or +without modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +Neither the name of Baidu Inc. nor the names of its contributors may be used +to endorse or promote products derived from this software without specific +prior written permission of Baidu Inc. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.md b/README.md new file mode 100644 index 000000000..b31ca7885 --- /dev/null +++ b/README.md @@ -0,0 +1,42 @@ +# ECharts Next + +### 如何使用开发版 + +你可以从 [在线构建工具](http://ecomfe.github.io/echarts-builder-web/echarts3.html) 打包下载。 + +或者使用如下方式基于源代码开发。 + +1. 获取 ZRender 3 + + ``` + git pull https://github.com/ecomfe/zrender.git zrender + # 切换到 3.0 分支 + git checkout dev-3.0.0 + ``` + +2. 获取 ECharts 3 + + ``` + git pull https://github.com/ecomfe/echarts.git echarts + # 切换到 3.0 分支 + git checkout dev-3.0.0 + ``` + +3. 配置 AMD 环境 + + ``` + require.config({ + packages: [ + { + main: 'echarts', + location: 'echarts/src', + name: 'echarts' + }, + { + main: 'zrender', + location: 'echarts/zrender-dev3.0/src', + name: 'zrender' + } + ] + }); + ``` \ No newline at end of file -- GitLab