@emmetio/node
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -254,3 +254,3 @@ 'use strict'; | ||
token = normalize(token); | ||
if (!this.hasClass(token)) { | ||
if (token && !this.hasClass(token)) { | ||
this.setAttribute('class', this.classList.concat(token).join(' ')); | ||
@@ -257,0 +257,0 @@ } |
@@ -252,3 +252,3 @@ /** | ||
token = normalize(token); | ||
if (!this.hasClass(token)) { | ||
if (token && !this.hasClass(token)) { | ||
this.setAttribute('class', this.classList.concat(token).join(' ')); | ||
@@ -255,0 +255,0 @@ } |
{ | ||
"name": "@emmetio/node", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Emmet abbreviation node", | ||
@@ -5,0 +5,0 @@ "main": "dist/node.cjs.js", |
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
22650