This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed broken link to UI resources in demo app
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -132,8 +132,8 @@ | |
margin-bottom: 1.5rem; | ||
} | ||
</style> | ||
<script type="module" src="https://unpkg.com/@microblink/[email protected]/dist/ui/photopay-in-browser/photopay-in-browser.esm.js"></script> | ||
<script nomodule src="https://unpkg.com/@microblink/[email protected]/dist/ui/photopay-in-browser.js"></script> | ||
<script type="module" src="https://unpkg.com/@microblink/[email protected]/ui/dist/photopay-in-browser/photopay-in-browser.esm.js"></script> | ||
<script nomodule src="https://unpkg.com/@microblink/[email protected]/ui/dist/photopay-in-browser.js"></script> | ||
<script type="text/javascript"> | ||
window.getSafePathname = p => p[ p.length - 1 ] === '/' ? p : p.split( '/' ).slice( 0, -1 ).join( '/' ) + '/'; | ||
/** | ||
|
@@ -206,7 +206,7 @@ <h2>Custom messages</h2> | |
photopay.licenseKey = window.licenseKey; | ||
photopay.recognizers = ['CroatiaPdf417PaymentRecognizer']; | ||
window.setTimeout(() => { | ||
photopay.translations = { | ||
photopay.translations = { | ||
'action-message': 'Alternative CTA' | ||
}; | ||
}, 3000); | ||
|
@@ -242,7 +242,7 @@ <h2>RTL support</h2> | |
photopay.recognizers = ['CroatiaPdf417PaymentRecognizer']; | ||
|
||
window.setTimeout(() => { | ||
photopay.translations = { | ||
photopay.translations = { | ||
'action-message': 'Alternative CTA' | ||
}; | ||
}, 3000); | ||
|
@@ -388,7 +388,7 @@ <h3>CSS variables</h3> | |
|
||
customizatorForm.addEventListener('submit', ev => { | ||
ev.preventDefault(); | ||
|
||
document.querySelector( | ||
'#example-customization .box' | ||
).style.background = document.getElementById('customization-background').value; | ||
|
@@ -407,4 +407,4 @@ <h3>CSS variables</h3> | |
</script> | ||
|
||
</body> | ||
</html> | ||
</html> |