Sha256: 13c179f6efa13964037f4ff0a73eb36150cce975546d1255362545ffe1b2101b

Contents?: true

Size: 754 Bytes

Versions: 30

Compression:

Stored size: 754 Bytes

Contents

<script type="text/javascript">
$(function() {
  $('#mustache_variables .variable').each(function() {
    var el = $(this)
    if (el.text().length > 500) {
      var txt = el.text()
      el.click(function() {
        $(this).text(txt)
      }).text( el.text().slice(0, 500) + '...' )
    }
  })
});
</script>

<h3>Render Times</h3>

<table>
  <tr>
    <th>View</th>
    <th>Render Time</th>
  </tr>

  {{# times }}
    <tr>
      <td>{{ key }}</td>
      <td>{{ value }}</td>
    </tr>
  {{/ times }}
</table>

<h3>Variables</h3>

<table id="mustache_variables">
  <tr>
    <th>Name</th>
    <th>Value</th>
  </tr>

  {{# variables }}
    <tr>
      <td>{{ key }}</td>
      <td class="variable">{{ value }}</td>
    </tr>
  {{/ variables }}
</table>

Version data entries

30 entries across 30 versions & 4 rubygems

Version Path
mustache-0.10.0 lib/rack/bug/panels/mustache_panel/view.mustache
mustache-0.9.2 lib/rack/bug/panels/mustache_panel/view.mustache
mustache-0.9.1 lib/rack/bug/panels/mustache_panel/view.mustache
mustache-0.9.0 lib/rack/bug/panels/mustache_panel/view.mustache
mustache-0.7.0 lib/rack/bug/panels/mustache_panel/view.mustache
mustache-0.6.0 lib/rack/bug/panels/mustache_panel/view.mustache
mustache-0.5.1 lib/rack/bug/panels/mustache_panel/view.mustache
mustache-0.5.0 lib/rack/bug/panels/mustache_panel/view.mustache
mustache-0.4.2 lib/rack/bug/panels/mustache_panel/view.mustache
mustache-0.4.1 lib/rack/bug/panels/mustache_panel/view.mustache