dresscode-bricks
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -13,3 +13,3 @@ Bricks.DOM = {}; | ||
doc = doc || document; | ||
return typeof el == 'string' ? doc.getElementById(el) : el; | ||
return el ? typeof el == 'string' ? doc.getElementById(el) : el : null; | ||
}; | ||
@@ -16,0 +16,0 @@ |
@@ -85,3 +85,3 @@ Bricks.String = {}; | ||
Bricks.String.escapeHTML = function(str) { | ||
return str.replace(/[&"<>]/g, function(c) { | ||
return String(str).replace(/[&"<>]/g, function(c) { | ||
return { | ||
@@ -88,0 +88,0 @@ '&': "&", |
{ | ||
"name": "dresscode-bricks", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Kolyaj", |
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
126122