Remove cruft from elsewhere.
This commit is contained in:
parent
687b94374c
commit
521f839753
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user