Remove cruft from elsewhere.

This commit is contained in:
Christian Williams 2009-07-08 11:04:35 -07:00
parent 687b94374c
commit 521f839753

View File

@ -17,14 +17,10 @@ jasmine.TrivialReporter.prototype.createDom = function(type, attrs, childrenVarA
for (var attr in attrs) {
if (attr == 'className') {
el.setAttribute('class', attrs[attr]);
} else {
if (attr.indexOf('x-') == 0) {
el.setAttribute(attr, attrs[attr]);
} else {
el[attr] = attrs[attr];
}
}
}
return el;
};