create-element-basic
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -11,3 +11,3 @@ /*! | ||
'use strict'; | ||
'use strict' | ||
@@ -47,4 +47,4 @@ var emptyTags = [ | ||
function createElement(type, attr, contents) { | ||
var closing = emptyTags.indexOf(type) === -1 ? true : false | ||
function createElement (type, attr, contents) { | ||
var closing = (emptyTags.indexOf(type) === -1) | ||
@@ -51,0 +51,0 @@ return openTag(type, closing, attr) + (closing ? (contents || '') + closeTag(type) : '') |
{ | ||
"name": "create-element-basic", | ||
"description": "HTML element string creation", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"homepage": "https://github.com/akileez/create-element-basic", | ||
@@ -6,0 +6,0 @@ "author": { |
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
3996