Make a table view out of the test results for easier reading.
[dygraphs.git] / jsdoc-toolkit / app / test / functions_anon.js
1 /** an anonymous constructor executed inline */
2 a = new function() {
3 /** a.b*/
4 this.b = 1;
5 /** a.f */
6 this.f = function() {
7 /** a.c */
8 this.c = 2;
9 }
10 }
11
12
13 /**
14 named function executed inline
15 */
16 bar1 = function Zoola1() {
17 /** property of global */
18 this.g = 1;
19 }();
20
21 /**
22 named constructor executed inline
23 */
24 bar2 = new function Zoola2() {
25 /** property of bar */
26 this.p = 1;
27 };
28
29 /** module pattern */
30 module = (function () {
31 /** won't appear in documentation */
32 var priv = 1;
33
34 /** @scope module */
35 return {
36 /** will appear as a property of module */
37 pub: 1
38 }
39 })();