<commit_before>/**
	_enyo.UiComponent_ implements a container strategy suitable for presentation
	layers.

	UiComponent itself is abstract.  Concrete subkinds include
	<a href="#enyo.Control">enyo.Control</a> (for HTML/DOM) and
	<a href="#enyo.canvas.Control">enyo.canvas.Control</a>
	(for Canvas contexts).
*/
enyo.kind({
	name: "enyo.UiComponent",
	kind: enyo.Component,
	published: {
		//* the UiComponent that physically contains this component in the DOM
		container: null,
		//* the UiComponent that owns this component for the purpose of event propogation
		parent: null,
		//* the UiComponent that will physically contain new items added using createComponent
		controlParentName: "client",
		//* a kind used to manage the size and placement of child components
		layoutKind: ""
	},
	handlers: {
		onresize: "resizeHandler"
	},
	//* when set, provides a control reference that's used to indicate where
	//* the component is added in the UIComponent's childern array.  This
	//* usually isn't used at design time, but instead used when dynamically
	//* creating children. If set to null, control will be added at beginning.
	//* If left undefined, the default is to add the control to the end of the
	//* array.
	addBefore: undefined,
	//* @protected
	statics: {
		_resizeFlags: {showingOnly: true} // don't waterfall these events into hidden controls
	},
	create: function() {
		this.controls = [];
		this.children = [];
		this.containerChanged();<commit_msg>Cleaning up API comments<commit_after>/**
	_enyo.UiComponent_ implements a container strategy suitable for presentation
	layers.

	UiComponent itself is abstract.  Concrete subkinds include
	<a href="#enyo.Control">enyo.Control</a> (for HTML/DOM) and
	<a href="#enyo.canvas.Control">enyo.canvas.Control</a>
	(for Canvas contexts).
*/
enyo.kind({
	name: "enyo.UiComponent",
	kind: enyo.Component,
	published: {
		//* The UiComponent that physically contains this component in the DOM
		container: null,
		/**
			The UiComponent that owns this component for purposes of event
			propagation
		*/
		parent: null,
		/**
			The UiComponent that will physically contain new items added by
			calls to _createComponent_
		*/
		controlParentName: "client",
		//* A kind used to manage the size and placement of child components
		layoutKind: ""
	},
	handlers: {
		onresize: "resizeHandler"
	},
	/**
		When set, provides a control reference used to indicate where a
		newly-created component should be added in the UiComponent's array of
		children. This is typically used when dynamically creating children
		(rather than at design time). If set to null, the new control will be
		added at the beginning of the array; if set to a specific existing
		control, the new control will be added before the specified control. If
		left undefined, the	default behavior is to add the new control at the
		end of the array.
	*/
	addBefore: undefined,
	//* @protected
	statics: {
		_resizeFlags: {showingOnly: true} // don't waterfall these events into hidden controls
	},
	create: function() {
		this.controls = [];
		this.children = [];
		this.containerChanged();
{'fraction_non_alphanumeric': 0.09412142627690331, 'fraction_numerical': 0.0, 'mean_word_length': 3.9350237717908083, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4012283', 'n_tokens_mistral': 945, 'n_tokens_neox': 891, 'n_words': 363}