public/javascripts/yui/menu/menu-debug.js
function (p_sType, p_aArgs, p_oItem) {

        var sText = p_aArgs[0],
            oConfig = this.cfg,
            oAnchor = this._oAnchor,
            sHelpText = oConfig.getProperty(_HELP_TEXT),
            sHelpTextHTML = _EMPTY_STRING,
            sEmphasisStartTag = _EMPTY_STRING,
            sEmphasisEndTag = _EMPTY_STRING;


        if (sText) {


            if (sHelpText) {
                    
                sHelpTextHTML = _START_HELP_TEXT + sHelpText + _END_EM;
            
            }


            if (oConfig.getProperty(_EMPHASIS)) {

                sEmphasisStartTag = _START_EM;
                sEmphasisEndTag = _END_EM;

            }


            if (oConfig.getProperty(_STRONG_EMPHASIS)) {

                sEmphasisStartTag = _START_STRONG;
                sEmphasisEndTag = _END_STRONG;
            
            }


            oAnchor.innerHTML = (sEmphasisStartTag + sText + sEmphasisEndTag + sHelpTextHTML);

        }

    }
function (p_sType, p_aArgs, p_oItem) {

        var sText = p_aArgs[0],
            oConfig = this.cfg,
            oAnchor = this._oAnchor,
            sHelpText = oConfig.getProperty(_HELP_TEXT),
            sHelpTextHTML = _EMPTY_STRING,
            sEmphasisStartTag = _EMPTY_STRING,
            sEmphasisEndTag = _EMPTY_STRING;


        if (sText) {


            if (sHelpText) {
                    
                sHelpTextHTML = _START_HELP_TEXT + sHelpText + _END_EM;
            
            }


            if (oConfig.getProperty(_EMPHASIS)) {

                sEmphasisStartTag = _START_EM;
                sEmphasisEndTag = _END_EM;

            }


            if (oConfig.getProperty(_STRONG_EMPHASIS)) {

                sEmphasisStartTag = _START_STRONG;
                sEmphasisEndTag = _END_STRONG;
            
            }


            oAnchor.innerHTML = (sEmphasisStartTag + sText + sEmphasisEndTag + sHelpTextHTML);

        }

    }
function ( p_sType , p_aArgs , p_oItem ) { var sText = p_aArgs [ 0 ] , oConfig = this . cfg , oAnchor = this . _oAnchor , sHelpText = oConfig . getProperty ( _HELP_TEXT ) , sHelpTextHTML = _EMPTY_STRING , sEmphasisStartTag = _EMPTY_STRING , sEmphasisEndTag = _EMPTY_STRING ; if ( sText ) { if ( sHelpText ) { sHelpTextHTML = _START_HELP_TEXT + sHelpText + _END_EM ; } if ( oConfig . getProperty ( _EMPHASIS ) ) { sEmphasisStartTag = _START_EM ; sEmphasisEndTag = _END_EM ; } if ( oConfig . getProperty ( _STRONG_EMPHASIS ) ) { sEmphasisStartTag = _START_STRONG ; sEmphasisEndTag = _END_STRONG ; } oAnchor . innerHTML = ( sEmphasisStartTag + sText + sEmphasisEndTag + sHelpTextHTML ) ; } }
Event handlers for configuration properties 
@method configText
@description Event handler for when the "text" configuration property of
the menu item changes.
@param {String} p_sType String representing the name of the event that
was fired.
@param {Array} p_aArgs Array of arguments sent when the event was fired.
@param {YAHOO.widget.MenuItem} p_oItem Object representing the menu item
that fired the event.
Event handlers for configuration properties