Sha256: 3c4b44259f8d88880f3a2c510ddf8b30e4625704d2a39022d71a15ab500f2e2b

Contents?: true

Size: 533 Bytes

Versions: 2

Compression:

Stored size: 533 Bytes

Contents

module NoPassword
  module NoPasswordHelper
    def no_password_importmap_tags(entry_point = "application", shim: true)
      safe_join [
        javascript_inline_importmap_tag(NoPassword.configuration.importmap.to_json(resolver: self)),
        javascript_importmap_module_preload_tags(NoPassword.configuration.importmap),
        (javascript_importmap_shim_nonce_configuration_tag if shim),
        (javascript_importmap_shim_tag if shim),
        javascript_import_module_tag(entry_point)
      ].compact, "\n"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
no_password_auth-0.3.0 app/helpers/no_password/no_password_helper.rb
no_password_auth-0.2.1 app/helpers/no_password/no_password_helper.rb