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) {
|
for (var attr in attrs) {
|
||||||
if (attr == 'className') {
|
if (attr == 'className') {
|
||||||
el.setAttribute('class', attrs[attr]);
|
el.setAttribute('class', attrs[attr]);
|
||||||
} else {
|
|
||||||
if (attr.indexOf('x-') == 0) {
|
|
||||||
el.setAttribute(attr, attrs[attr]);
|
|
||||||
} else {
|
} else {
|
||||||
el[attr] = attrs[attr];
|
el[attr] = attrs[attr];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return el;
|
return el;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user