Commit Graph

154 Commits (aaaaeb7050b57971b348665cced38a1a4fe61821)

Author SHA1 Message Date
silverwind 3621944c2d modernize js and use babel ()
* modernize js and use babel

- add babel toolchain to transform modern JS to ES5
- extend eslint config for modern rules
- fixes linting issues via `eslint --fix` and manual fixes

* run 'make css' to satisfy CI

* code style tweaks and set js indendation to 2 in .editorconfig

* regenerate js
Lunny Xiao 9bd879bef8 fix bug when pack js ()
Lunny Xiao afe50873a5 Move index.js to web_src and use webpack to pack them ()
* Move index.js to web_src and use webpack

* Fix initHeatMap

* update eslint and move webpack to devDependencies

* update index.js

* add eslint env node
Lunny Xiao e4e6d48e30 Move less from public/ to web_src/ so that it will not be packe… ()