Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
Fixed broken link to UI resources in demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
vjekoart committed Oct 12, 2020
1 parent 0987d78 commit 3afd377
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ui/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -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( '/' ) + '/';
/**
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -242,7 +242,7 @@ <h2>RTL support</h2>
photopay.recognizers = ['CroatiaPdf417PaymentRecognizer'];

window.setTimeout(() => {
photopay.translations = {
photopay.translations = {
'action-message': 'Alternative CTA'
};
}, 3000);
Expand Down Expand Up @@ -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;
Expand All @@ -407,4 +407,4 @@ <h3>CSS variables</h3>
</script>

</body>
</html>
</html>

0 comments on commit 3afd377

Please sign in to comment.