Merge pull request #63 from kberg/master
[dygraphs.git] / jsdoc-toolkit / app / test / functions_anon.js
CommitLineData
629a09ae
DV
1/** an anonymous constructor executed inline */
2a = 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*/
16bar1 = function Zoola1() {
17 /** property of global */
18 this.g = 1;
19}();
20
21/**
22 named constructor executed inline
23*/
24bar2 = new function Zoola2() {
25 /** property of bar */
26 this.p = 1;
27};
28
29/** module pattern */
30module = (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})();