<% _.sortBy( items, function( value ){ return value.uses ? value.uses.length : 0; } ).forEach(function( item ) { %> <% if( item.hasOwnProperty('constructor') ) { return; } %>

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 || '' ) %> <% _.forEach( item.examples || [], function( example ) { %> <%- formatExample( example ) %> <% }) %>
<% }) %>