mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-23 21:56:10 +03:00
14 lines
185 B
JavaScript
14 lines
185 B
JavaScript
|
/** the parent */
|
||
|
var box = {};
|
||
|
|
||
|
/** @namespace */
|
||
|
box.holder = {}
|
||
|
|
||
|
box.holder.foo = function() {
|
||
|
/** the counter */
|
||
|
this.counter = 1;
|
||
|
}
|
||
|
|
||
|
box.holder.foo();
|
||
|
print(box.holder.counter);
|