danimoh

Results 49 comments of danimoh

Yes, unless one specifically imports the loader to get lazy loading capabilities and the option to load the offline package. This would be the preferable approach over bundling the whole...

Hello. First of all thank you very much for working on this plugin. It does indeed make much more sense than `rollup-plugin-typescript`. I can confirm that this issue exists and...

Hello ezolenko. Nowadays asynchronous methods in Javascript mostly means methods returning Promises. The new `async`/`await` syntax is essentially just syntactic sugar for asynchronous methods that enables the developer to write...

I think the approach you describe in the vue issue thread requires typescript to process the files one at a time as it essentially ignores the vue file imports and...

I think there is actually no throwaway work. Typescript will only compile the code once and also the vue plugin will need to process every file only once if we...

This is being fixed in PR #148 which is however unfortunately not merged yet. If you are interested, have a look at https://github.com/nimiq/qr-scanner which uses a jsQR fork that already...

@basz FYI: https://github.com/danimoh/jsQR is now fully updated again and also includes several additional PR's which are still open here.

If you're interested, there's already a lib built on top of jsQR that makes use of a web worker and uses the device's native BarcodeDecetor if available: https://github.com/nimiq/qr-scanner. It's using...

Note that the avoidance of buffer memory allocation and garbage collection for each scanned image is also achieved by #115. #115 has the additonal advantage of no memory overhead, as...

@tommycarpi the base64 string you got is probably the bytes of the loaded image (e.g. a png image), _not_ the pixel data. To get the pixel data, you have to...