hi-xml2html
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -35,2 +35,4 @@ "use strict"; | ||
key = utils_1.convertColon(key); | ||
if (key === 'key') | ||
key = 'xmlKey'; | ||
return ` ${key}="${value}"`; | ||
@@ -37,0 +39,0 @@ }) |
@@ -0,1 +1,4 @@ | ||
### v2.0.1 (2017/5/4 11:47) | ||
* Rename JSX key-attribute | ||
### v2.0.0 (2017/4/28 16:50) | ||
@@ -2,0 +5,0 @@ * Refactor |
{ | ||
"name": "hi-xml2html", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -43,5 +43,4 @@ import {convertColon, formatTagName} from "../utils"; | ||
// Rename the key if necessary | ||
// key = key.replace(':', '-'); | ||
key = convertColon(key); | ||
if (key === 'key') key = 'xmlKey'; | ||
@@ -48,0 +47,0 @@ return ` ${key}="${value}"` |
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
150018
1881