Skip to content

Commit 477b614

Browse files
Fix some validator warnings (suggested by Colin Law)
git-svn-id: https://flot.googlecode.com/svn/trunk@319 1e0a6537-2640-0410-bfb7-f154510ff394
1 parent 3ba7f28 commit 477b614

23 files changed

+44
-44
lines changed

examples/ajax.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
55
<title>Flot Examples</title>
6-
<link href="layout.css" rel="stylesheet" type="text/css"></link>
6+
<link href="layout.css" rel="stylesheet" type="text/css">
77
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]-->
88
<script language="javascript" type="text/javascript" src="../jquery.js"></script>
99
<script language="javascript" type="text/javascript" src="../jquery.flot.js"></script>
@@ -45,7 +45,7 @@ <h1>Flot Examples</h1>
4545
<input class="dataUpdate" type="button" value="Poll for data">
4646
</p>
4747

48-
<script id="source" language="javascript" type="text/javascript">
48+
<script type="text/javascript">
4949
$(function () {
5050
var options = {
5151
lines: { show: true },

examples/annotating.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
55
<title>Flot Examples</title>
6-
<link href="layout.css" rel="stylesheet" type="text/css"></link>
6+
<link href="layout.css" rel="stylesheet" type="text/css">
77
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]-->
88
<script language="javascript" type="text/javascript" src="../jquery.js"></script>
99
<script language="javascript" type="text/javascript" src="../jquery.flot.js"></script>
@@ -19,7 +19,7 @@ <h1>Flot Examples</h1>
1919
manipulation, e.g. for labels. For drawing custom shapes there is
2020
also direct access to the canvas.</p>
2121

22-
<script id="source" language="javascript" type="text/javascript">
22+
<script type="text/javascript">
2323
$(function () {
2424
// generate a dataset
2525
var d1 = [];

examples/basic.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
55
<title>Flot Examples</title>
6-
<link href="layout.css" rel="stylesheet" type="text/css"></link>
6+
<link href="layout.css" rel="stylesheet" type="text/css">
77
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]-->
88
<script language="javascript" type="text/javascript" src="../jquery.js"></script>
99
<script language="javascript" type="text/javascript" src="../jquery.flot.js"></script>
@@ -19,7 +19,7 @@ <h1>Flot Examples</h1>
1919
plot function with the data. The axes are automatically
2020
scaled.</p>
2121

22-
<script id="source" language="javascript" type="text/javascript">
22+
<script type="text/javascript">
2323
$(function () {
2424
var d1 = [];
2525
for (var i = 0; i < 14; i += 0.5)

examples/graph-types.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
55
<title>Flot Examples</title>
6-
<link href="layout.css" rel="stylesheet" type="text/css"></link>
6+
<link href="layout.css" rel="stylesheet" type="text/css">
77
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]-->
88
<script language="javascript" type="text/javascript" src="../jquery.js"></script>
99
<script language="javascript" type="text/javascript" src="../jquery.flot.js"></script>
@@ -17,7 +17,7 @@ <h1>Flot Examples</h1>
1717
combinations of these, in the same plot and even on the same data
1818
series.</p>
1919

20-
<script id="source" language="javascript" type="text/javascript">
20+
<script type="text/javascript">
2121
$(function () {
2222
var d1 = [];
2323
for (var i = 0; i < 14; i += 0.5)

examples/image.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
55
<title>Flot Examples</title>
6-
<link href="layout.css" rel="stylesheet" type="text/css"></link>
6+
<link href="layout.css" rel="stylesheet" type="text/css">
77
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]-->
88
<script language="javascript" type="text/javascript" src="../jquery.js"></script>
99
<script language="javascript" type="text/javascript" src="../jquery.flot.js"></script>
@@ -26,7 +26,7 @@ <h1>Flot Examples</h1>
2626
incomplete images). The plugin comes with a couple of helpers
2727
for doing that.</p>
2828

29-
<script id="source" language="javascript" type="text/javascript">
29+
<script type="text/javascript">
3030
$(function () {
3131
var data = [ [ ["hs-2004-27-a-large_web.jpg", -10, -10, 10, 10] ] ];
3232
var options = {

examples/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
55
<title>Flot Examples</title>
6-
<link href="layout.css" rel="stylesheet" type="text/css"></link>
6+
<link href="layout.css" rel="stylesheet" type="text/css">
77
</head>
88
<body>
99
<h1>Flot Examples</h1>
@@ -21,7 +21,7 @@ <h1>Flot Examples</h1>
2121

2222
<ul>
2323
<li><a href="turning-series.html">Turning series on/off</a></li>
24-
<li><a href="selection.html">Rectangular selection support and zooming</a> and <a href="zooming.html">zooming with overview</a></li> (both with selection plugin)
24+
<li><a href="selection.html">Rectangular selection support and zooming</a> and <a href="zooming.html">zooming with overview</a> (both with selection plugin)</li>
2525
<li><a href="interacting.html">Interacting with the data points</a></li>
2626
<li><a href="navigate.html">Panning and zooming</a> (with navigation plugin)</li>
2727
<li><a href="resize.html">Automatically redraw when window is resized</a> (with resize plugin)</li>

examples/interacting-axes.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
55
<title>Flot Examples</title>
6-
<link href="layout.css" rel="stylesheet" type="text/css"></link>
6+
<link href="layout.css" rel="stylesheet" type="text/css">
77
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]-->
88
<script language="javascript" type="text/javascript" src="../jquery.js"></script>
99
<script language="javascript" type="text/javascript" src="../jquery.flot.js"></script>
@@ -20,7 +20,7 @@ <h1>Flot Examples</h1>
2020

2121
<p id="click"></p>
2222

23-
<script id="source" language="javascript" type="text/javascript">
23+
<script type="text/javascript">
2424
$(function () {
2525
function generate(start, end, fn) {
2626
var res = [];

examples/interacting.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
55
<title>Flot Examples</title>
6-
<link href="layout.css" rel="stylesheet" type="text/css"></link>
6+
<link href="layout.css" rel="stylesheet" type="text/css">
77
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]-->
88
<script language="javascript" type="text/javascript" src="../jquery.js"></script>
99
<script language="javascript" type="text/javascript" src="../jquery.flot.js"></script>
@@ -24,7 +24,7 @@ <h1>Flot Examples</h1>
2424

2525
<p><input id="enableTooltip" type="checkbox">Enable tooltip</p>
2626

27-
<script id="source" language="javascript" type="text/javascript">
27+
<script type="text/javascript">
2828
$(function () {
2929
var sin = [], cos = [];
3030
for (var i = 0; i < 14; i += 0.5) {

examples/multiple-axes.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

examples/navigate.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
55
<title>Flot Examples</title>
6-
<link href="layout.css" rel="stylesheet" type="text/css"></link>
6+
<link href="layout.css" rel="stylesheet" type="text/css">
77
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]-->
88
<script language="javascript" type="text/javascript" src="../jquery.js"></script>
99
<script language="javascript" type="text/javascript" src="../jquery.flot.js"></script>
1010
<script language="javascript" type="text/javascript" src="../jquery.flot.navigate.js"></script>
11-
<style>
11+
<style type="text/css">
1212
#placeholder .button {
1313
position: absolute;
1414
cursor: pointer;
@@ -41,7 +41,7 @@ <h1>Flot Examples</h1>
4141
top right in the plot.</p>
4242

4343

44-
<script id="source" language="javascript" type="text/javascript">
44+
<script type="text/javascript">
4545
$(function () {
4646
// generate data set from a parametric function with a fractal
4747
// look

0 commit comments

Comments
 (0)