Comparing version 0.4.6 to 0.4.8
0.4.8 / 2015-07-01 | ||
================== | ||
* Merge branch 'master' of ssh://github.com/dekujs/deku | ||
* Merge pull request #188 from xdissent/fix-remove-null-el | ||
* Handle null element in isElement(). fixes #180 | ||
0.4.7 / 2015-07-01 | ||
================== | ||
* Not pooling select elements | ||
0.4.6 / 2015-06-29 | ||
@@ -3,0 +15,0 @@ ================== |
@@ -25,3 +25,3 @@ /** | ||
var avoidPooling = ['input', 'textarea']; | ||
var avoidPooling = ['input', 'textarea', 'select', 'option']; | ||
@@ -744,3 +744,3 @@ /** | ||
// Just remove the text node | ||
if (!isElement(el)) return el.parentNode.removeChild(el) | ||
if (!isElement(el)) return el && el.parentNode.removeChild(el) | ||
@@ -929,3 +929,3 @@ // Then we need to find any components within this | ||
function isElement (el) { | ||
return !!el.tagName | ||
return !!(el && el.tagName) | ||
} | ||
@@ -932,0 +932,0 @@ |
{ | ||
"name": "deku", | ||
"version": "0.4.6", | ||
"version": "0.4.8", | ||
"repository": "segmentio/deku", | ||
@@ -5,0 +5,0 @@ "description": "Create view components using a virtual DOM", |
Sorry, the diff of this file is too big to display
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
149250