Sha256: 121c022bf1b8c803c92663623dc905f9a5c7ae3be190ed3383cee3204852d5c8

Contents?: true

Size: 478 Bytes

Versions: 1

Compression:

Stored size: 478 Bytes

Contents

<% script_options(defer: true) %>
<%= include_user_script(script_options.merge(delay: 2)) %>

<h1>Booting (defer scripts)</h1>

<h2>Setup</h2>

<ul>
  <li>Both Unpoly and user script have loaded with <code>[defer]</code>.</li>
  <li>The user script took intentionally long to render.</li>
</ul>

<h2>Expectations</h2>

<ul>
  <li>Unpoly has booted automatically after the user script was called.</li>
  <li>The background should be red (from a user script compiler).</li>
</ul>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unpoly-rails-1.0.3 spec_app/app/views/boot_test/defer.erb