Remove cruft from elsewhere.

This commit is contained in:
Christian Williams 2009-07-08 11:04:35 -07:00
parent 687b94374c
commit 521f839753
1 changed files with 1 additions and 5 deletions

View File

@ -18,11 +18,7 @@ jasmine.TrivialReporter.prototype.createDom = function(type, attrs, childrenVarA
if (attr == 'className') {
el.setAttribute('class', attrs[attr]);
} else {
if (attr.indexOf('x-') == 0) {
el.setAttribute(attr, attrs[attr]);
} else {
el[attr] = attrs[attr];
}
el[attr] = attrs[attr];
}
}