From be92dc76ac3e07502f6e6f68e8a12853aa205cc3 Mon Sep 17 00:00:00 2001 From: David Sickmiller Date: Sat, 8 Sep 2018 13:03:59 +0000 Subject: [PATCH 1/2] add missing file --- worker.js | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 worker.js diff --git a/worker.js b/worker.js new file mode 100644 index 0000000..f8698dd --- /dev/null +++ b/worker.js @@ -0,0 +1,4 @@ +importScripts('ocrad.js') +onmessage = function(e){ + postMessage(OCRAD(e.data)) +} \ No newline at end of file From 64aa8363732a80b354fd2bec6db6e21509115b93 Mon Sep 17 00:00:00 2001 From: David Sickmiller Date: Sat, 8 Sep 2018 13:20:06 +0000 Subject: [PATCH 2/2] Add support for touch and pointer events to the demo --- demo.html | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/demo.html b/demo.html index 3a73997..b50e8ad 100644 --- a/demo.html +++ b/demo.html @@ -224,10 +224,17 @@

Ocrad.js 
Ocrad.js