Sha256: 87a31d8e31d28a02cd58e6548e439e11b60e224dfc7e3788df20e25d0e10d15e
Contents?: true
Size: 509 Bytes
Versions: 3
Compression:
Stored size: 509 Bytes
Contents
module Spina::SpinaHelper def spina_include_tags safe_join [ javascript_include_tag("stimulus/libraries/es-module-shims", type: "module"), tag.script(type: "importmap-shim", src: asset_path("spina/importmap.json")), javascript_include_tag("stimulus/libraries/stimulus", type: "module-shim"), javascript_include_tag("spina/libraries/trix") ], "\n" end def autoloader_include_tag javascript_include_tag("stimulus/loaders/autoloader", type: "module-shim") end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
spina-2.2.0 | app/helpers/spina/spina_helper.rb |
spina-2.1.1 | app/helpers/spina/spina_helper.rb |
spina-2.1.0 | app/helpers/spina/spina_helper.rb |