Sha256: 24a23a4b713a7a7b3cfcd3cd81239ddc8eec500c75930ac3fa9a67435ea84588

Contents?: true

Size: 525 Bytes

Versions: 1

Compression:

Stored size: 525 Bytes

Contents

<% script_options(type: 'module') %>
<%= include_user_script(script_options.merge(delay: 2)) %>

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

<h2>Setup</h2>

<ul>
  <li>Both Unpoly and user script have loaded with <code>[type=module]</code> (which implies <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/module.erb