* Constructor for QCodeDecoder
()
| 12 | * Constructor for QCodeDecoder |
| 13 | */ |
| 14 | function QCodeDecoder () { |
| 15 | if (!(this instanceof QCodeDecoder)) |
| 16 | return new QCodeDecoder(); |
| 17 | |
| 18 | this.timerCapture = null; |
| 19 | this.canvasElem = null; |
| 20 | this.stream = null; |
| 21 | this.videoConstraints = {video: true, audio: false}; |
| 22 | } |
| 23 | |
| 24 | /** |
| 25 | * Verifies if canvas element is supported. |
nothing calls this directly
no outgoing calls
no test coverage detected