Sha256: 26ac5c14658682e5ca04eabfe5975f7a5a6a97d00c2a9a6c3beeea14cb3ac135
Contents?: true
Size: 728 Bytes
Versions: 10
Compression:
Stored size: 728 Bytes
Contents
// Placeholder manifest file. // the installer will append this file to the app vendored assets here: vendor/assets/javascripts/spree/frontend/all.js' //= require solidus_bolt //= require authorize_account const publishableKey = document.querySelector("meta[name=bolt-publishable-key]").getAttribute("content"); const domain = document.querySelector("meta[name=bolt-domain]").getAttribute("content"); document.addEventListener('DOMContentLoaded', function () { const emailField = document.getElementById('spree_user_email'); if (emailField) { emailField.onblur = async function () { const authorize = new AuthorizeAccount(emailField, publishableKey, domain); await authorize.accessRequest(); } } })
Version data entries
10 entries across 10 versions & 1 rubygems