.meth{:id => "#{klass[:name]}-#{meth[:name]}", :class => individual ? 'individual' : nil}
  - if individual
    %a{:href => "/docs/api/#{version}/"}
      %strong &laquo; Back
  %h3
    - if individual
      %strong= klass[:name]
    %a{:href => "#{klass[:name]}._methods_.#{meth[:name]}"}=meth[:name]
    %span
      (
      %em=meth[:args].join(', ')
      )
  .links

    %a{:href => "#{klass[:name]}._methods_.#{meth[:name]}#comments"} Comments
    |
    %a{:href => gh_url(meth), :target => "all"} Show in GitHub
  .doc><
    =preserve meth[:doc]
  - if individual
    #comments
      :erb
        <div id="disqus_thread"></div>
        <script type="text/javascript">
            var disqus_shortname = 'sammyjsorg'; // required: replace example with your forum shortname

            // The following are highly recommended additional parameters. Remove the slashes in front to use.
            var disqus_identifier = "sammyjsdocs-<%= version %>-<%= "#{klass[:name]}-#{meth[:name]}" %>";
            var disqus_url = 'http://www.sammyjs.org/docs/api/<%= version %>/<%= "#{klass[:name]}._methods_.#{meth[:name]}" %>';

            /* * * DON'T EDIT BELOW THIS LINE * * */
            (function() {
                var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
                dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
                (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
            })();
        </script>
        <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
        <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
