User:Mike Dillon/Scripts/easydom.js: Difference between revisions

Content deleted Content added
m return after using direct property set to assign event handlers instead of allowing setAttribute to be called erroneously
m skip nulls passed to easyDOM functions
Line 98:
for (var i = firstChild; i < arguments.length; i++) {
var child = arguments[i];
if (child == null) {
continue;
}
if (typeof child == stringType) {
child = document.createTextNode(child);