src/aria/widgets/TemplateBasedWidget.js
function (out) {

            if (!this._cfgOk) {
                return aria.widgets.TemplateBasedWidget.superclass.writeMarkup.call(this, out);
            }

            // Prepare delegation id before to have it linked with this widget
            this._tplWidget._delegateId = aria.utils.Delegate.add({
                fn : this.delegate,
                scope : this
            });
            this._tplWidget.writeMarkup(out);

            this._domReady = true;
        }
function (out) {

            if (!this._cfgOk) {
                return aria.widgets.TemplateBasedWidget.superclass.writeMarkup.call(this, out);
            }

            // Prepare delegation id before to have it linked with this widget
            this._tplWidget._delegateId = aria.utils.Delegate.add({
                fn : this.delegate,
                scope : this
            });
            this._tplWidget.writeMarkup(out);

            this._domReady = true;
        }
function ( out ) { if ( ! this . _cfgOk ) { return aria . widgets . TemplateBasedWidget . superclass . writeMarkup . call ( this , out ) ; } // Prepare delegation id before to have it linked with this widget this . _tplWidget . _delegateId = aria . utils . Delegate . add ( { fn : this . delegate , scope : this } ) ; this . _tplWidget . writeMarkup ( out ) ; this . _domReady = true ; }
Write the widget markup into the Markup Writer
@param {aria.templates.MarkupWriter} out Markup Writer
Write the widget markup into the Markup Writer