Fix bug 329 which accumulates clipping rectangles on subsequent draws.
[dygraphs.git] / jsdoc-toolkit / app / test / globals.js
CommitLineData
629a09ae
DV
1function example(/**Circle*/a, b) {
2 /** a global defined in function */
3 var number = a;
4
5 var hideNumber = function(){
6 }
7
8 setNumber = function(){
9 }
10 alert('You have chosen: ' + b);
11}
12
13function initPage() {
14 var supported = document.createElement && document.getElementsByTagName;
15 if (!supported) return;
16 // start of DOM script
17 var x = document.getElementById('writeroot');
18 // etc.
19}
20
21/** an example var */
22var document = new Document(x, y);
23
24var getNumber = function(){
25}