mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-12-01 09:36:08 +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);
|