4 <title>Exported Symbols test
</title>
7 <p>dygraphs exports these symbols into the global namespace:
</p>
11 <p>It exports these symbols inside each of those symbols:
</p>
15 <script type=
"text/javascript">
18 var k, i, html, level2props, sym, topSymbol;
20 windowProps[k] = true;
24 <script type=
"text/javascript" src=
"../dist/dygraph.js"></script>
26 <script type=
"text/javascript" src=
"../dygraph-combined.js"></script>
27 <script type=
"text/javascript">
29 if (!windowProps.hasOwnProperty(k)) {
35 for (i =
0; i < newProps.length; i++) {
36 html += '
<li>' + newProps[i] + '
</li>\n';
38 document.getElementById('list').innerHTML = html;
41 for (i =
0; i < newProps.length; i++) {
42 topSymbol = newProps[i];
43 for (k in window[topSymbol]) {
44 sym = topSymbol + '.' + k;
45 level2props.push(sym);
51 for (i =
0; i < level2props.length; i++) {
52 html += '
<li>' + level2props[i] + '
</li>\n';
54 document.getElementById('list2').innerHTML = html;