- ci(sca): arranged for automated static code analysis
- ci(xo): eslinted with xo
see diff in a1fac62c8757926c579f0882ded17aba3fcd7e45
-
100% automatic tests code coverage coverage reported on coveralls:
-
npm run coveralls
code coverage available at https://coveralls.io/github/rondinif/phytojs -
esm/index.js
discarded as the new more coherent nameesm/phyto.js
package.json:
"main": "umd/phyto.js",
"module": "esm/phytojs.js",
- Commit conventions allow our team to add more semantic meaning to our git history. @see rules in:
commitlint.config.js
demofeat:(mobile-first) + responsive design demofeat:(demo) + pure css on page waiting animation removed from main beacuse of browser compatibility // import { config } from '../esm/config' // import { logconfig } from '../esm/logconfig'
npm run test-main
replace npm run test-index
In the ./docs.mvc folder an essential example application is now available. In response to the issue #1 the example show how to use PhytoJS in a vanilla ES6 web browser SPA; this particular example Will work in your browser in these cases:
- Safari 10.1.
- Chrome 61.
- Firefox 54 – behind the dom.moduleScripts.enabled setting in about:config.
- Edge 15 – behind the Experimental JavaScript Features setting in about:flags.
- all
log.trace(
are replare withlog.trace(
beacause of the meaning oflog.trace
was misunderstood
- changed
rollup.config.js
to avoid too much warnings
src/lib/OpenDataLogicAgent.mjs::getPromiseOfWikiDataApiActionQuerySearchByName
now has support for cors
this fix errors in browser such as:
has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
First working draft
npm i rondinif/phytojs --save
check dependencies in package.json
"dependencies": {
"@rondinif/phytojs": "github:rondinif/phytojs",