mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-13 05:31:37 +08:00
Fixed image-loading issues
This commit is contained in:
@@ -29,4 +29,7 @@ showInMenu: false
|
||||
</section>
|
||||
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
|
||||
<script src="http://raw.githubusercontent.com/serratus/quaggaJS/master/dist/quagga.js" type="text/javascript"></script>
|
||||
<script>
|
||||
site = {baseurl: "{{ site.baseurl }}"};
|
||||
</script>
|
||||
<script src="static_images.js" type="text/javascript"></script>
|
||||
@@ -4,7 +4,7 @@ $(function() {
|
||||
Quagga.init({
|
||||
inputStream: { name: "Test",
|
||||
type: "ImageStream",
|
||||
src: "/test/fixtures/" + App.config.reader + "/",
|
||||
src: site.baseurl + "/test/fixtures/" + App.config.reader + "/",
|
||||
length: App.config.length
|
||||
},
|
||||
decoder : {
|
||||
|
||||
Reference in New Issue
Block a user