Commit 5620b822 by Edgar HIPP

Pick only used fields

parent 25373913
...@@ -24,7 +24,7 @@ module.exports= class DocxQrCode ...@@ -24,7 +24,7 @@ module.exports= class DocxQrCode
testdoc.render() testdoc.render()
_this.result=testdoc.content _this.result=testdoc.content
_this.searchImage() _this.searchImage()
@qr.decode(@data,@data.decoded) @qr.decode({width:@data.width,height:@data.height},@data.decoded)
searchImage:() -> searchImage:() ->
cb=(err,@data=@data.data)=> cb=(err,@data=@data.data)=>
if err then console.error err if err then console.error err
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment