/jEdit/tags/jedit-4-0-pre3/bsh/commands/extend.bsh
# · Unknown · 11 lines · 8 code · 3 blank · 0 comment · 0 complexity · bad0a5dc27b54bac39cc2740af261d5c MD5 · raw file
- bsh.help.extend= "usage: extend( This parent )";
- /*
- Return a new object that is a child of the specified object.
- */
- extend( bsh.This parent ) {
- this.namespace.setParent( parent.namespace );
- return this;
- }