Skip to content

Commit 06f3b5c

Browse files
committed
Add <meta charset="utf-8"> to <head> to appease d3
Error and solution: https://stackoverflow.com/questions/29325566/unexpected-token-error-when-using-d3-js
1 parent 8bf6d89 commit 06f3b5c

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

Diff for: devtools/test_dashboard/index-mathjax3.html

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<title>Plotly.js Devtools - MathJax v3 loaded with svg output</title>
5+
<meta charset="utf-8">
56
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans:600,400,300,200|Droid+Sans|PT+Sans+Narrow|Gravitas+One|Droid+Sans+Mono|Droid+Serif|Raleway|Old+Standard+TT"/>
67
<link rel="stylesheet" type="text/css" href="./style.css">
78
</head>

Diff for: devtools/test_dashboard/index-mathjax3chtml.html

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<title>Plotly.js Devtools - MathJax v3 loaded with chtml output</title>
5+
<meta charset="utf-8">
56
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans:600,400,300,200|Droid+Sans|PT+Sans+Narrow|Gravitas+One|Droid+Sans+Mono|Droid+Serif|Raleway|Old+Standard+TT"/>
67
<link rel="stylesheet" type="text/css" href="./style.css">
78
</head>

Diff for: devtools/test_dashboard/index-strict.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Security-Policy" content="script-src 'self'; worker-src blob:; ">
55
<title>Plotly.js "strict" Devtools</title>
6-
6+
<meta charset="utf-8">
77
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans:600,400,300,200|Droid+Sans|PT+Sans+Narrow|Gravitas+One|Droid+Sans+Mono|Droid+Serif|Raleway|Old+Standard+TT"/>
88
<link rel="stylesheet" type="text/css" href="./style.css">
99
</head>

Diff for: devtools/test_dashboard/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<title>Plotly.js Devtools</title>
5+
<meta charset="utf-8">
56
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans:600,400,300,200|Droid+Sans|PT+Sans+Narrow|Gravitas+One|Droid+Sans+Mono|Droid+Serif|Raleway|Old+Standard+TT"/>
67
<link rel="stylesheet" type="text/css" href="./style.css">
78
</head>

0 commit comments

Comments
 (0)