Splits test/main.js into test/h.js, test/render.js, test/widget.js, test/vnode.js and test/patch.js (that allows for better tests navigation).
Adds use strict directives (to avoid mistakes & typos).
Enables gentle eslint config and fixes all errors.
Bumps nodejs for travis
cc @Matt-Esch @Raynos @Zolmeister
If you prefer I can split thit PR into multiple.
I am going to create a transform converting react to virtual-dom (alike to preact), so I can devote some time fixing issues/PRs, if you have no time to run this repository you can provide contributor access to it.
There is a datavis project coming similar to rect-vis, hoped to base it on virtual-dom, so looking forward to this PR not being ignored :)
Coverage increased (+0.01%) to 97.543% when pulling ae58f0173e51e4235a887b123dbb17c18c586b16 on dfcreative:master into 947ecf92b67d25bb693a0f625fa8e90c099887d5 on Matt-Esch:master.
Coverage increased (+0.01%) to 97.543% when pulling ae58f0173e51e4235a887b123dbb17c18c586b16 on dfcreative:master into 947ecf92b67d25bb693a0f625fa8e90c099887d5 on Matt-Esch:master.
This PR:
npm i
givers error in windows now).test/main.js
intotest/h.js
,test/render.js
,test/widget.js
,test/vnode.js
andtest/patch.js
(that allows for better tests navigation).use strict
directives (to avoid mistakes & typos).cc @Matt-Esch @Raynos @Zolmeister
If you prefer I can split thit PR into multiple.
I am going to create a transform converting react to virtual-dom (alike to preact), so I can devote some time fixing issues/PRs, if you have no time to run this repository you can provide contributor access to it.
There is a datavis project coming similar to rect-vis, hoped to base it on virtual-dom, so looking forward to this PR not being ignored :)