PageRenderTime 47ms CodeModel.GetById 44ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1
 2bsh.help.extend= "usage: extend( This parent )";
 3
 4/*
 5	Return a new object that is a child of the specified object.
 6*/
 7extend( bsh.This parent ) { 
 8	this.namespace.setParent( parent.namespace );
 9	return this; 
10}
11