mirror of
https://github.com/jaandrle/deka-dom-el
synced 2026-10-25 08:51:48 +01:00
⚡ Refact docs and examples (linting) (#22)
This commit is contained in:
1 parent
b50f8449aa
commit
eef4e8dfa6
58 files changed
+1851
-1593
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ export function createHTMl(html, options= {}){
|
||||
if(dom) cleanHTML();
|
||||
// set a default url if we don't get one - otherwise things explode when we copy localstorage keys
|
||||
if (!('url' in options)) { Object.assign(options, { url: 'http://localhost:3000' }) }
|
||||
|
||||
|
||||
dom= new JSDOM(html, options);
|
||||
const window= dom.window;
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user