Commit 1031cc02 authored by olau@iola.dk's avatar olau@iola.dk

Revert accidental commit of example changes

git-svn-id: https://flot.googlecode.com/svn/trunk@221 1e0a6537-2640-0410-bfb7-f154510ff394
parent d54a40c2
...@@ -21,10 +21,6 @@ ...@@ -21,10 +21,6 @@
<script id="source" language="javascript" type="text/javascript"> <script id="source" language="javascript" type="text/javascript">
$(function () { $(function () {
var c = 0;
function plot() {
++c;
var d1 = []; var d1 = [];
for (var i = 0; i < 14; i += 0.5) for (var i = 0; i < 14; i += 0.5)
d1.push([i, Math.sin(i)]); d1.push([i, Math.sin(i)]);
...@@ -35,14 +31,6 @@ $(function () { ...@@ -35,14 +31,6 @@ $(function () {
var d3 = [[0, 12], [7, 12], null, [7, 2.5], [12, 2.5]]; var d3 = [[0, 12], [7, 12], null, [7, 2.5], [12, 2.5]];
$.plot($("#placeholder"), [ d1, d2, d3 ]); $.plot($("#placeholder"), [ d1, d2, d3 ]);
$("p").text("" +c);
if (c < 1000)
setTimeout(plot, 10);
}
plot();
}); });
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment