nuejs-core
Advanced tools
Comparing version 0.5.0 to 0.5.1
{ | ||
"name": "nuejs-core", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "HTML microlibrary for UX developers", | ||
@@ -5,0 +5,0 @@ "homepage": "https://nuejs.org", |
@@ -199,3 +199,3 @@ | ||
const arr = mergeVals(getAttr(root, 'class') || [], parent.class) | ||
if (arr[0]) root.className = renderVal(arr, ' ') | ||
if (arr[0]) setAttr(root, 'class', renderVal(arr, ' ')) | ||
@@ -202,0 +202,0 @@ const { id, style } = parent |
@@ -24,9 +24,8 @@ | ||
'<b :class="type">Hey</b>': "<b class=\"bold\">Hey</b>", | ||
'<b class="item { type }"/>': "<b class=\"item bold\"></b>", | ||
'<img src="/img/icon/{type}.svg">': "<img src=\"/img/icon/bold.svg\">", | ||
'<b :class="item { type }">Hey</b>': "<b class=\"item bold\">Hey</b>", | ||
'<b :class="type">Hey</b>': '<b class="bold">Hey</b>', | ||
'<b class="item { type }"/>': '<b class="item bold"></b>', | ||
'<img src="/img/icon/{type}.svg">': '<img src="/img/icon/bold.svg">', | ||
'<b :class="item { type }">Hey</b>': '<b class="item bold">Hey</b>', | ||
'<time :datetime="date.getDay()">{ date.getDay() }</time>': `<time datetime="6">6</time>`, | ||
// skip event attributes | ||
@@ -84,3 +83,3 @@ '<a @click="click"/>': '<a></a>', | ||
'<b class="this { thing } { should: true, be: 1, baz: 0, lol: null, great: -1 }"/>': | ||
'<b class=\"this thing should be great\"></b>', | ||
'<b class="this thing should be great"></b>', | ||
@@ -87,0 +86,0 @@ '<b style="font-weight: calc(2em + 5%); color: { color}"/>': |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80411