mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
removed invalid access modifier from javascript in HtmlCoverageReport
This commit is contained in:
parent
2650bd4639
commit
1e9af715cc
1 changed files with 2 additions and 2 deletions
|
@ -138,11 +138,11 @@ HTML;
|
||||||
public function coverageScript() {
|
public function coverageScript() {
|
||||||
return <<<HTML
|
return <<<HTML
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
public function coverage_show_hide(selector) {
|
function coverage_show_hide(selector) {
|
||||||
var element = document.getElementById(selector);
|
var element = document.getElementById(selector);
|
||||||
element.style.display = (element.style.display == 'none') ? '' : 'none';
|
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 divs = document.querySelectorAll('div.coverage-container');
|
||||||
var i = divs.length;
|
var i = divs.length;
|
||||||
while (i--) {
|
while (i--) {
|
||||||
|
|
Loading…
Reference in a new issue