Moved DOM objects to helper module

This commit is contained in:
Christoph Oberhofer
2016-06-19 17:32:21 +02:00
parent b9efb07456
commit 5231824d98
4 changed files with 34 additions and 13 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ var App = {
this._scanner = Quagga
.decoder({readers: ['ean_reader']})
.locator({patchSize: 'medium'})
.fromVideo({
.fromSource({
target: selector,
constraints: {
width: 800,