Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 espaco 1
<!doctype html>
2
<head>
3
  <!-- jQuery packaging changed for 2.1.0, so try to load both paths, one will work. -->
4
  <script src="../../bower_components/jquery/dist/jquery.js"></script>
5
  <script src="../../bower_components/jquery/jquery.js"></script>
6
  <script src="../../bower_components/raphael/raphael-min.js"></script>
7
  <script src="../../morris.js"></script>
8
  <link rel="stylesheet" href="../../morris.css">
9
  <style>
10
    body {
11
      padding: 0;
12
      margin: 0;
13
      background-color: white;
14
    }
15
    #chart {
16
      width: 500px;
17
      height: 300px;
18
    }
19
  </style>
20
  <script>
21
    function bridge(e) {
22
      window.alert(JSON.stringify(e));
23
    }
24
    window.snapshot = function () {
25
      bridge({ fn: "snapshot" });
26
    };
27
    window.mousemove = function (x, y) {
28
      bridge({ fn: "mousemove", x: x, y: y });
29
    };
30
  </script>
31
</head>
32
<body>
33
<div id="chart"></div>
34
</body>