lib/jazzy/partials/klass-method.mustache in jazzy-0.0.3 vs lib/jazzy/partials/klass-method.mustache in jazzy-0.0.4

- old
+ new

@@ -1,84 +1,70 @@ -<li class="item symbol" data-availability="8.0"> - <div class="task-group-term"> - <code class="code-voice"> - <a name="{{declaration.objc}}"></a><a name="{{usr}}"></a><a name="{{declaration.swift}}"></a> - <a class="x-instance-method Swift" href="#{{declaration.swift}}" title="{{abstract}}">{{name.swift}}</a> - <a class="x-instance-method Objective-C" href="#{{declaration.objc}}" title="{{abstract}}">{{name.objc}}</a> - </code> - <span class="new">(New in iOS 8)</span> - </div> - - <div class="height-container hidden"> - <div class="pointy-thing-container"></div> - <section class="section instance-method"> - <div class="pointy-thing"></div> - - <div class="abstract"> - {{{rendered_abstract}}} - </div> - - - <div class="declaration"> - <h4>Declaration</h4> - - <div class="Swift"> - <p class="aside-title">Swift</p> - <p class="para"> - <code class="code-voice">{{declaration.swift}}</code> - </p> +<li class="item symbol"> + <div class="task-group-term"> + <code class="code-voice"> + <a name="{{declaration.objc}}"></a><a name="{{usr}}"></a><a name="{{declaration.swift}}"></a> + <a class="x-instance-method Swift" href="#{{declaration.swift}}" title="{{abstract}}">{{name.swift}}</a> + <a class="x-instance-method Objective-C" href="#{{declaration.objc}}" title="{{abstract}}">{{name.objc}}</a> + </code> + </div> + <div class="height-container hidden"> + <div class="pointy-thing-container"></div> + <section class="section instance-method"> + <div class="pointy-thing"></div> + <div class="abstract"> + {{{rendered_abstract}}} + </div> + <div class="declaration"> + <h4>Declaration</h4> + <div class="Swift"> + <p class="aside-title">Swift</p> + <p class="para"> + <code class="code-voice">{{declaration.swift}}</code> + </p> + </div> + <div class="Objective-C"> + <p class="aside-title">Objective-C</p> + <p class="para"> + <code class="code-voice">{{declaration.objc}}</code> + </p> + </div> + </div> + <div class="parameters"> + <h4>Parameters</h4> + <table class="graybox" border="0" cellspacing="0" cellpadding="5"> + <tbody> + {{#parameters}} + <tr> + <td scope="row"> + <code class="code-voice"> + <em class="term">{{name}}</em> + </code> + </td> + <td> + <div class="definition"> + <p class="para"> + {{discussion}} + </p> </div> - - <div class="Objective-C"> - <p class="aside-title">Objective-C</p> - <p class="para"> - <code class="code-voice">{{declaration.objc}}</code> - </p> - </div> - </div> - - <div class="parameters"> - <h4>Parameters</h4> - <table class="graybox" border="0" cellspacing="0" cellpadding="5"> - <tbody> - {{#parameters}} - <tr> - <td scope="row"> - <code class="code-voice"> - <em class="term">{{name}}</em> - </code> - </td> - <td> - <div class="definition"> - <p class="para"> - {{discussion}} - </p> - - </div> - </td> - </tr> - {{/parameters}} - </tbody> - </table> - </div> - - <div class="result-description"> - <h4>Return Value</h4> - <p class="para"> - {{result}} - </p> - - </div> - - <div class="discussion"> - <h4>Discussion</h4> - {{{rendered_discussion}}} - </div> - - <div class="availability"> - <h4>Availability</h4> - <p class="para availability-item">Available in iOS 8.0 and later.</p> - </div> - - </section> - </div> + </td> + </tr> + {{/parameters}} + </tbody> + </table> + </div> + <div class="result-description"> + <h4>Return Value</h4> + <p class="para"> + {{result}} + </p> + </div> + <div class="discussion"> + <h4>Discussion</h4> + {{{rendered_discussion}}} + </div> + <div class="availability"> + <h4>Availability</h4> + <p class="para availability-item">Available in iOS 8.0 and later.</p> + </div> + </section> + </div> </li> \ No newline at end of file