File: 0001-Comment-out-references-to-highcharts.js.patch

package info (click to toggle)
php-codecoverage 1.2.13%2Bdfsg2-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 384 kB
  • sloc: php: 3,038; xml: 105; makefile: 27
file content (39 lines) | stat: -rw-r--r-- 2,112 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From 816fc928ffdd2842c3a455c7b007403c18289ffe Mon Sep 17 00:00:00 2001
From: Mathieu Parent <mathieu.parent@nantesmetropole.fr>
Date: Wed, 8 Jan 2014 13:33:43 +0100
Subject: [PATCH] Comment out references to highcharts.js

---
 PHP_CodeCoverage-1.2.13/PHP/CodeCoverage/Report/HTML.php                | 2 +-
 .../PHP/CodeCoverage/Report/HTML/Renderer/Template/dashboard.html.dist  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/PHP_CodeCoverage-1.2.13/PHP/CodeCoverage/Report/HTML.php b/PHP_CodeCoverage-1.2.13/PHP/CodeCoverage/Report/HTML.php
index b254625..dba13d0 100644
--- a/PHP_CodeCoverage-1.2.13/PHP/CodeCoverage/Report/HTML.php
+++ b/PHP_CodeCoverage-1.2.13/PHP/CodeCoverage/Report/HTML.php
@@ -183,7 +183,7 @@ class PHP_CodeCoverage_Report_HTML
 
         $dir = $this->getDirectory($target . 'js');
         copy($this->templatePath . 'js/bootstrap.min.js', $dir . 'bootstrap.min.js');
-        copy($this->templatePath . 'js/highcharts.js', $dir . 'highcharts.js');
+        //copy($this->templatePath . 'js/highcharts.js', $dir . 'highcharts.js');
         copy($this->templatePath . 'js/jquery.min.js', $dir . 'jquery.min.js');
         copy($this->templatePath . 'js/html5shiv.js', $dir . 'html5shiv.js');
 
diff --git a/PHP_CodeCoverage-1.2.13/PHP/CodeCoverage/Report/HTML/Renderer/Template/dashboard.html.dist b/PHP_CodeCoverage-1.2.13/PHP/CodeCoverage/Report/HTML/Renderer/Template/dashboard.html.dist
index 89e1265..c28f038 100644
--- a/PHP_CodeCoverage-1.2.13/PHP/CodeCoverage/Report/HTML/Renderer/Template/dashboard.html.dist
+++ b/PHP_CodeCoverage-1.2.13/PHP/CodeCoverage/Report/HTML/Renderer/Template/dashboard.html.dist
@@ -56,7 +56,7 @@
   </div>
   <script src="js/jquery.min.js" type="text/javascript"></script>
   <script src="js/bootstrap.min.js" type="text/javascript"></script>
-  <script src="js/highcharts.js" type="text/javascript"></script>
+  <!-- <script src="js/highcharts.js" type="text/javascript"></script> -->
   <script type="text/javascript">
 $(document).ready(function() {
  var classCoverageDistribution = new Highcharts.Chart({
-- 
1.8.5.2