Navaron Bracke

move ZXing to the HEAD tag

@@ -38,9 +38,11 @@ @@ -38,9 +38,11 @@
38 </script> 38 </script>
39 <!-- This script adds the flutter initialization JS code --> 39 <!-- This script adds the flutter initialization JS code -->
40 <script src="flutter.js" defer></script> 40 <script src="flutter.js" defer></script>
  41 +
  42 + <!-- Add the ZXing library to allow `mobile_scanner` to work on the web. -->
  43 + <script src="https://unpkg.com/@zxing/library@0.19.1" type="application/javascript"></script>
41 </head> 44 </head>
42 <body> 45 <body>
43 - <script src="https://unpkg.com/@zxing/library@0.19.1" type="application/javascript"></script>  
44 <script> 46 <script>
45 window.addEventListener('load', function(ev) { 47 window.addEventListener('load', function(ev) {
46 // Download main.dart.js 48 // Download main.dart.js