| changeset 1072 | ac1eacb3aa33 |
| parent 1071 | 02c04d2c8fd8 |
| child 1073 | 687133dc13cf |
| 1071:02c04d2c8fd8 | 1072:ac1eacb3aa33 |
|---|---|
1 /** |
|
2 @namespace This is the first namespace. |
|
3 */ |
|
4 ns1 = {}; |
|
5 |
|
6 /** |
|
7 This is the second namespace. |
|
8 @namespace |
|
9 */ |
|
10 ns1.ns2 = {}; |
|
11 |
|
12 /** |
|
13 This part of ns1.ns2 |
|
14 @constructor |
|
15 */ |
|
16 ns1.ns2.Function1 = function() { |
|
17 }; |
|
18 |
|
19 ns1.staticFunction = function() { |
|
20 }; |
|
21 |
|
22 /** A static field in a namespace. */ |
|
23 ns1.ns2.staticField = 1; |