mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-10 06:41:59 -05:00
16 lines
220 B
JavaScript
16 lines
220 B
JavaScript
|
/**
|
||
|
* @constructor
|
||
|
*/
|
||
|
function Outer() {
|
||
|
/**
|
||
|
* @constructor
|
||
|
*/
|
||
|
function Inner(name) {
|
||
|
/** The name of this. */
|
||
|
this.name = name;
|
||
|
}
|
||
|
|
||
|
this.open = function(name) {
|
||
|
return (new Inner(name));
|
||
|
}
|
||
|
}
|