fix(core): update
This commit is contained in:
parent
2032df467e
commit
7c3d131b46
@ -4,9 +4,9 @@
|
||||
"module": {
|
||||
"githost": "gitlab.com",
|
||||
"gitscope": "designestate",
|
||||
"gitrepo": "dees-csstools",
|
||||
"gitrepo": "dees-domtools",
|
||||
"shortDescription": "tools to simplify complex css structures",
|
||||
"npmPackagename": "@designestate/dees-csstools",
|
||||
"npmPackagename": "@designestate/dees-domtools",
|
||||
"license": "MIT",
|
||||
"projectDomain": "design.estate"
|
||||
}
|
||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@designestate/dees-csstools",
|
||||
"name": "@designestate/dees-domtools",
|
||||
"version": "1.0.4",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@designestate/dees-csstools",
|
||||
"name": "@designestate/dees-domtools",
|
||||
"version": "1.0.4",
|
||||
"private": false,
|
||||
"description": "tools to simplify complex css structures",
|
||||
|
18
readme.md
18
readme.md
@ -1,17 +1,17 @@
|
||||
# @designestate/dees-csstools
|
||||
# @designestate/dees-domtools
|
||||
tools to simplify complex css structures
|
||||
|
||||
## Availabililty and Links
|
||||
* [npmjs.org (npm package)](https://www.npmjs.com/package/@designestate/dees-csstools)
|
||||
* [gitlab.com (source)](https://gitlab.com/designestate/dees-csstools)
|
||||
* [github.com (source mirror)](https://github.com/designestate/dees-csstools)
|
||||
* [docs (typedoc)](https://designestate.gitlab.io/dees-csstools/)
|
||||
* [npmjs.org (npm package)](https://www.npmjs.com/package/@designestate/dees-domtools)
|
||||
* [gitlab.com (source)](https://gitlab.com/designestate/dees-domtools)
|
||||
* [github.com (source mirror)](https://github.com/designestate/dees-domtools)
|
||||
* [docs (typedoc)](https://designestate.gitlab.io/dees-domtools/)
|
||||
|
||||
## Status for master
|
||||
[](https://gitlab.com/designestate/dees-csstools/commits/master)
|
||||
[](https://gitlab.com/designestate/dees-csstools/commits/master)
|
||||
[](https://www.npmjs.com/package/@designestate/dees-csstools)
|
||||
[](https://snyk.io/test/npm/@designestate/dees-csstools)
|
||||
[](https://gitlab.com/designestate/dees-domtools/commits/master)
|
||||
[](https://gitlab.com/designestate/dees-domtools/commits/master)
|
||||
[](https://www.npmjs.com/package/@designestate/dees-domtools)
|
||||
[](https://snyk.io/test/npm/@designestate/dees-domtools)
|
||||
[](https://nodejs.org/dist/latest-v10.x/docs/api/)
|
||||
[](https://nodejs.org/dist/latest-v10.x/docs/api/)
|
||||
[](https://prettier.io/)
|
||||
|
@ -9,6 +9,17 @@ export const elementBasicSetup = async () => {
|
||||
await globalThis.deesCssToolsReady.promise;
|
||||
} else {
|
||||
globalThis.deesCssToolsReady = defer();
|
||||
const documentReady = defer();
|
||||
document.onreadystatechange = () => {
|
||||
if (document.readyState === 'interactive') {
|
||||
documentReady.resolve();
|
||||
}
|
||||
};
|
||||
await documentReady.promise;
|
||||
const head = document.querySelector('head');
|
||||
const styleElement = document.createElement('style');
|
||||
styleElement.type = 'text/css';
|
||||
styleElement.appendChild(document.createTextNode(materialFontCss));
|
||||
globalThis.deesCssToolsReady.resolve();
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user