(toShow, toHide)
| 613 | // var isSafari = navigator.appVersion.indexOf("Safari") >= 0; |
| 614 | var tabzidx = 1; |
| 615 | var _showTab = function(toShow, toHide){ |
| 616 | // FIXME: I don't like hiding things this way. |
| 617 | var i; |
| 618 | for(i = 0; i < toHide.length; i++){ |
| 619 | var node = byId(toHide[i]); |
| 620 | if(node){ |
| 621 | node.style.display="none"; |
| 622 | } |
| 623 | } |
| 624 | toShow = byId(toShow); |
| 625 | if(toShow){ |
| 626 | with(toShow.style){ |
| 627 | display = ""; |
| 628 | zIndex = ++tabzidx; |
| 629 | } |
| 630 | } |
| 631 | } |
| 632 | |
| 633 | doh.showTestPage = function(){ |
| 634 | _showTab("testBody", ["logBody", "perfTestsBody"]); |
no test coverage detected
searching dependent graphs…