Sha256: c293c9b9958127d376e9c4010b4003ad72577f0668cb429bdb7cf957b73cd935

Contents?: true

Size: 390 Bytes

Versions: 5

Compression:

Stored size: 390 Bytes

Contents

import { Application } from "@hotwired/stimulus"
<%- if webauthn? -%>
import WebAuthnController from "stimulus-web-authn"
<%- end -%>

const application = Application.start()
<%- if webauthn? -%>
application.register("web-authn", WebAuthnController)
<%- end -%>

// Configure Stimulus development experience
application.debug = false
window.Stimulus   = application

export { application }

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
authentication-zero-2.16.25 lib/generators/authentication/templates/javascript/controllers/application.js.tt
authentication-zero-2.16.24 lib/generators/authentication/templates/javascript/controllers/application.js.tt
authentication-zero-2.16.23 lib/generators/authentication/templates/javascript/controllers/application.js.tt
authentication-zero-2.16.22 lib/generators/authentication/templates/javascript/controllers/application.js.tt
authentication-zero-2.16.21 lib/generators/authentication/templates/javascript/controllers/application.js.tt