Skip to content

Commit 9ff7e25

Browse files
committed
Merge pull request #143 from yshnb/fix_html_resources
fix resources url in generated HTML docs
2 parents 896d3a8 + 725f913 commit 9ff7e25

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

scalac-scoverage-plugin/src/main/resources/scoverage/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<head>
33
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
44
<title id='title'>Scoverage Code Coverage</title>
5-
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.3.0/pure-min.css">
5+
<link rel="stylesheet" href="https://yui.yahooapis.com/pure/0.3.0/pure-min.css">
66
</head>
77
<frameset cols="25%,*">
88
<frame src="packages.html" name="packagesFrame">

scalac-scoverage-plugin/src/main/scala/scoverage/report/ScoverageHtmlWriter.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -537,11 +537,11 @@ class ScoverageHtmlWriter(sourceDirectories: Seq[File], outputDir: File) extends
537537
}
538538

539539
def plugins = {
540-
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
540+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
541541
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.20.1/css/theme.default.min.css" type="text/css"/>
542-
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.20.1/js/jquery.tablesorter.min.js"></script>
543-
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" type="text/css"/>
544-
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
542+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.20.1/js/jquery.tablesorter.min.js"></script>
543+
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" type="text/css"/>
544+
<script src="https://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
545545
<script type="text/javascript">
546546
{xml.Unparsed("""$(document).ready(function() {$(".tablesorter").tablesorter();});""")}
547547
</script>

0 commit comments

Comments
 (0)