diff options
author | Jiri Vanek <[email protected]> | 2011-06-16 16:23:26 +0200 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2011-06-16 16:23:26 +0200 |
commit | 20ab54395604e6f1258a5feccc7040a4b26b9c22 (patch) | |
tree | 3839a09043d05f78004def86417684ca10a6e233 /tests/report-styles/index.js | |
parent | 9c4b0a7764e967c9273fae59b632ca06145d5219 (diff) |
added styles for junit xml report
Diffstat (limited to 'tests/report-styles/index.js')
-rw-r--r-- | tests/report-styles/index.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/report-styles/index.js b/tests/report-styles/index.js new file mode 100644 index 0000000..27b6ed5 --- /dev/null +++ b/tests/report-styles/index.js @@ -0,0 +1,20 @@ + +function negateIdDisplay(which) { + var e = document.getElementById(which); + if (e.style.display=="block") { + e.style.display="none" + } else { + e.style.display="block" + } +} + + +function setClassDisplay(which,what) { + var e = document.getElementsByClassName(which); + for ( var i = 0; i < e.length; i++ ) { + e[i].style.display=what + } +} + + + |