Sha256: aa557a945652139595e3b01bd85ac2e360fae98dbdf9795b5530a39ef78a4d2c

Contents?: true

Size: 581 Bytes

Versions: 30

Compression:

Stored size: 581 Bytes

Contents

<div class="p-4 h-full bg-white overflow-auto" data-morph-strategy="replace">
  <%= component "code", wrap: "vertical" do -%>
    <% if examples.many? %>
      <% examples.each do |example| -%>
        <%== "\n<!-- #{example[:label]} -->\n#{beautify(example[:html])}" %>
      <% end %>
    <% else -%>
      <%== beautify(examples.first[:html]) %>
    <% end %>
  <% end %>
  <% if defined?(clipboard_id) %>
    <template id="<%= clipboard_id %>">
      <% examples.each do |example| -%>
        <%== beautify(example[:html]) %>
      <%- end %>
    </template>
  <% end %>
</div>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
lookbook-0.9.8 app/views/lookbook/previews/panels/_output.html.erb
lookbook-0.9.7 app/views/lookbook/previews/panels/_output.html.erb
lookbook-0.9.6 app/views/lookbook/previews/panels/_output.html.erb
lookbook-0.9.5 app/views/lookbook/previews/panels/_output.html.erb
lookbook-0.9.4 app/views/lookbook/previews/panels/_output.html.erb
lookbook-0.9.3 app/views/lookbook/previews/panels/_output.html.erb
lookbook-0.9.2 app/views/lookbook/previews/panels/_output.html.erb
lookbook-0.9.1 app/views/lookbook/previews/panels/_output.html.erb
lookbook-0.9.0 app/views/lookbook/previews/panels/_output.html.erb
lookbook-0.8.3 app/views/lookbook/previews/panels/_output.html.erb
lookbook-0.8.2 app/views/lookbook/previews/panels/_output.html.erb
lookbook-0.8.1 app/views/lookbook/previews/panels/_output.html.erb
lookbook-0.8.0 app/views/lookbook/previews/panels/_output.html.erb
lookbook-0.8.0.beta.0 app/views/lookbook/previews/panels/_output.html.erb
lookbook-0.7.4 app/views/lookbook/previews/panels/_output.html.erb
lookbook-0.7.3 app/views/lookbook/previews/panels/_output.html.erb
lookbook-0.7.2 app/views/lookbook/previews/panels/_output.html.erb
lookbook-0.7.2.beta.5 app/views/lookbook/previews/panels/_output.html.erb
lookbook-0.7.2.beta.4 app/views/lookbook/previews/panels/_output.html.erb
lookbook-0.7.2.beta.3 app/views/lookbook/previews/panels/_output.html.erb