diff --git a/lib/TrivialReporter.js b/lib/TrivialReporter.js index a7bd1144..5d10f5d0 100644 --- a/lib/TrivialReporter.js +++ b/lib/TrivialReporter.js @@ -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]; } }