mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-09 06:12:34 -05:00
23 lines
307 B
JavaScript
23 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;
|