Skip to content

Commit

Permalink
🚀 optmized js files
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Mar 4, 2018
1 parent b363ee3 commit 58e83d4
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 112 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change log

## 0.1.1 - 04.03.2018

Minified all six newly added cities

## 0.1.0 - 23.2.3018

Added beijing, aomen, chongqing, shanghai, tianjin, xianggang
Expand Down
29 changes: 2 additions & 27 deletions echarts-china-cities-js/aomen.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 2 additions & 27 deletions echarts-china-cities-js/beijing.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion echarts-china-cities-js/chongqing.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion echarts-china-cities-js/shanghai.js

Large diffs are not rendered by default.

29 changes: 2 additions & 27 deletions echarts-china-cities-js/tianjin.js

Large diffs are not rendered by default.

29 changes: 2 additions & 27 deletions echarts-china-cities-js/xianggang.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion makedemo.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def minify_js(src_js, min_js):
'province',
'%s.js' % pname)
_dest_file = os.path.join('echarts-china-cities-js', '%s.js' % pname)
copyfile(src_file, _dest_file)
minify_js(src_file, _dest_file)
print("%s-> %s, %s -> %s" % (cname, pname, src_file, _dest_file))
raw_rendering_dict['直辖市'].append((cname, pname))
# statistics
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "echarts-china-cities-js",
"version": "0.1.0",
"version": "0.1.1",
"description": "Packages all js based geojson of all Chinese cities for echarts",
"main": "dist/index.js",
"scripts": {
Expand Down

0 comments on commit 58e83d4

Please sign in to comment.