mirror of
https://github.com/MercuryWorkshop/dreamlandjs.git
synced 2025-05-15 15:10:02 -04:00
new functional component syntax
This commit is contained in:
parent
fcc411d842
commit
2dcae6ad11
2 changed files with 20 additions and 9 deletions
4
css.js
4
css.js
|
@ -20,10 +20,10 @@ function scopify_css(uid, css) {
|
|||
return cssParsed;
|
||||
}
|
||||
function tagcss(strings, values, isblock) {
|
||||
const uid = `dream-${Array(16)
|
||||
const uid = `dl${Array(5)
|
||||
.fill(0)
|
||||
.map(() => {
|
||||
return Math.floor(Math.random() * 16).toString(16);
|
||||
return Math.floor(Math.random() * 36).toString(36);
|
||||
})
|
||||
.join("")}`;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue