mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-23 13:46:09 +03:00
24 lines
307 B
JavaScript
24 lines
307 B
JavaScript
/**
|
|
@namespace This is the first namespace.
|
|
*/
|
|
ns1 = {};
|
|
|
|
/**
|
|
This is the second namespace.
|
|
@namespace
|
|
*/
|
|
ns1.ns2 = {};
|
|
|
|
/**
|
|
This part of ns1.ns2
|
|
@constructor
|
|
*/
|
|
ns1.ns2.Function1 = function() {
|
|
};
|
|
|
|
ns1.staticFunction = function() {
|
|
};
|
|
|
|
/** A static field in a namespace. */
|
|
ns1.ns2.staticField = 1;
|