<% var item; if( (item = items[ 0 ]) && item.hasOwnProperty('constructor') ) { %>

class="deprecated"<% } %> ><%= item.name %> <% if ( item.since ) { %><%- item.since %><% } %>

<% if ( item[ 'deprecated' ] ) { %>
<%- markdown( item[ 'deprecated' ] ) %>
<% } %> <% if( item.uses ) { %><%- renderUses( item.uses ) %><% }%> <% if ( item.grammars ) { %> <% } %> <% if ( item.params ) { %>

参数:

<%- renderParams( item.params ) %> <% } %> <% if ( item.returns ) { %>

返回值:

<%- renderParams( item.returns ) %> <% } %> <%- markdown( item.description || description || '' ) %> <% _.forEach( item.examples || [], function( example ) { %> <%- formatExample( example ) %> <% }) %>
<% } else { %>

<%= title || name %>

<% if ( description ) { %><%- markdown( description ) %><% } %> <% } %> <% if ( options.length ) { %> <%- renderTpl( 'options' ) %> <% } %> <% if ( events.length ) { %> <%- renderTpl( 'events' ) %> <% } %> <% if ( items.length ) { %> <%- renderTpl( 'items' ) %> <% } %> <% if ( plugins.length ) { %> <%- renderTpl( 'plugins' ) %> <% } %>