example/public/ueditor/third-party/SyntaxHighlighter/shCore.js
function(highlighter)
            {
                var html = '<div class="toolbar">',
                    items = sh.toolbar.items,
                    list = items.list
                    ;

                function defaultGetHtml(highlighter, name)
                {
                    return sh.toolbar.getButtonHtml(highlighter, name, sh.config.strings[name]);
                };

                for (var i = 0; i < list.length; i++)
                    html += (items[list[i]].getHtml || defaultGetHtml)(highlighter, list[i]);

                html += '</div>';

                return html;
            }
function(highlighter)
            {
                var html = '<div class="toolbar">',
                    items = sh.toolbar.items,
                    list = items.list
                    ;

                function defaultGetHtml(highlighter, name)
                {
                    return sh.toolbar.getButtonHtml(highlighter, name, sh.config.strings[name]);
                };

                for (var i = 0; i < list.length; i++)
                    html += (items[list[i]].getHtml || defaultGetHtml)(highlighter, list[i]);

                html += '</div>';

                return html;
            }
function ( highlighter ) { var html = '<div class="toolbar">' , items = sh . toolbar . items , list = items . list ; function defaultGetHtml ( highlighter , name ) { return sh . toolbar . getButtonHtml ( highlighter , name , sh . config . strings [ name ] ) ; } ; for ( var i = 0 ; i < list . length ; i ++ ) html += ( items [ list [ i ] ] . getHtml || defaultGetHtml ) ( highlighter , list [ i ] ) ; html += '</div>' ; return html ; }
Generates HTML markup for the toolbar.
@param {Highlighter} highlighter Highlighter instance.
@return {String} Returns HTML markup.
Generates HTML markup for the toolbar .