From 521f839753d8651f1015a2d3a36834b0aaa9238b Mon Sep 17 00:00:00 2001 From: Christian Williams Date: Wed, 8 Jul 2009 11:04:35 -0700 Subject: [PATCH] Remove cruft from elsewhere. --- lib/TrivialReporter.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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]; } }