Sha256: a0f1d117619d43896d90c3d9d7b3f6295c75531f42c1759a3ea1c7598c72f3cb
Contents?: true
Size: 639 Bytes
Versions: 28
Compression:
Stored size: 639 Bytes
Contents
<script type="application/javascript"> function ready(fn) { if (document.readyState !== 'loading') { fn() } else { document.addEventListener('DOMContentLoaded', fn) } } ready(() => { const subject = document.querySelector("[data-interaction-subject='<%= subject_id %>']") if (!subject) return const fetchStrategy = subject.getAttribute('data-fetch-strategy') if (fetchStrategy === 'local') { subject.setAttribute('data-ready', 'true') return } subject.addEventListener('loadend', (event) => { event.target.setAttribute('data-ready', 'true') }) }) </script>
Version data entries
28 entries across 28 versions & 2 rubygems