Skip to content

Commit

Permalink
Addition to test for highcharts#4204.
Browse files Browse the repository at this point in the history
  • Loading branch information
TorsteinHonsi committed Jul 26, 2016
1 parent ce0b367 commit 44deb74
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/highcharts-more.js"></script>
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>


<div id="qunit"></div>
Expand Down
5 changes: 3 additions & 2 deletions samples/issues/highcharts-4.1.8/4204-waterfall-hover/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ $(function () {
assert.strictEqual(
points[0].graphic.attr("fill"),
points[4].graphic.attr("fill"),
"The same hover color for positive ant negative bars")
"The same hover color for positive and negative bars"
);

});

});
2 changes: 1 addition & 1 deletion samples/issues/highstock-2.1.7/4324-flag-hover/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $(function () {

assert.strictEqual(
image.box.element.getAttribute('fill'),
null,
'none',
'No fill for image'
);

Expand Down
4 changes: 2 additions & 2 deletions utils/samples/compare-iframe.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ function getHTML($which) {
$_SESSION['html'] = $issueHTML;

if (strstr($s, 'http://')) {
$s .= "<script>console.warn('Do not use http in demo.html. Use secure https. ($path)')</script>";
$s .= "<script>throw 'Do not use http in demo.html. Use secure https. ($path)';</script>";
}
if (strstr($s, '.src.js')) {
$s .= "<script>console.warn('Do not use src.js files in demos. Use .js compiled files. ($path)')</script>";
$s .= "<script>throw 'Do not use src.js files in demos. Use .js compiled files. ($path)';</script>";
}

$s = cachify($s);
Expand Down

0 comments on commit 44deb74

Please sign in to comment.