From 1e9af715cc800eb82143775deafc8ee559c40296 Mon Sep 17 00:00:00 2001 From: hiromi2424 Date: Fri, 3 Jun 2011 10:51:47 +0900 Subject: [PATCH] removed invalid access modifier from javascript in HtmlCoverageReport --- lib/Cake/TestSuite/Coverage/HtmlCoverageReport.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/TestSuite/Coverage/HtmlCoverageReport.php b/lib/Cake/TestSuite/Coverage/HtmlCoverageReport.php index dd6592519..94e315203 100644 --- a/lib/Cake/TestSuite/Coverage/HtmlCoverageReport.php +++ b/lib/Cake/TestSuite/Coverage/HtmlCoverageReport.php @@ -138,11 +138,11 @@ HTML; public function coverageScript() { return << - public function coverage_show_hide(selector) { + function coverage_show_hide(selector) { var element = document.getElementById(selector); element.style.display = (element.style.display == 'none') ? '' : 'none'; } - public function coverage_toggle_all () { + function coverage_toggle_all () { var divs = document.querySelectorAll('div.coverage-container'); var i = divs.length; while (i--) {