Insignificant fix of `>` in jsdoc comments.
[dygraphs.git] / tests / exported-symbols.html
1 <!doctype html>
2 <html>
3 <head>
4 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
5 <title>Exported Symbols test</title>
6 <!--[if IE]>
7 <script type="text/javascript" src="../excanvas.js"></script>
8 <![endif]-->
9 </head>
10 <body>
11 <p>dygraphs exports these symbols into the global namespace:</p>
12 <ol id="list">
13 </ol>
14
15 <p>It exports these symbols inside each of those symbols:</p>
16 <ol id="list2">
17 </ol>
18
19 <script type="text/javascript">
20 var windowProps = {};
21 var newProps = [];
22 var k, i, html, level2props, sym, topSymbol;
23 for (k in window) {
24 windowProps[k] = true;
25 }
26 </script>
27 <!--
28 <script type="text/javascript" src="../dygraph-dev.js"></script>
29 -->
30 <script type="text/javascript" src="../dygraph-combined.js"></script>
31 <script type="text/javascript">
32 for (k in window) {
33 if (!windowProps.hasOwnProperty(k)) {
34 newProps.push(k);
35 }
36 }
37 newProps.sort();
38 html = '';
39 for (i = 0; i < newProps.length; i++) {
40 html += '<li>' + newProps[i] + '</li>\n';
41 }
42 document.getElementById('list').innerHTML = html;
43
44 level2props = [];
45 for (i = 0; i < newProps.length; i++) {
46 topSymbol = newProps[i];
47 for (k in window[topSymbol]) {
48 sym = topSymbol + '.' + k;
49 level2props.push(sym);
50 }
51 }
52
53 newProps.sort();
54 html = '';
55 for (i = 0; i < level2props.length; i++) {
56 html += '<li>' + level2props[i] + '</li>\n';
57 }
58 document.getElementById('list2').innerHTML = html;
59 </script>
60 </body>
61 </html>