Another try on web-workers; works with decoding single-images only; live-stream and video-input won't work

This commit is contained in:
Christoph Oberhofer
2015-01-12 23:04:14 +01:00
parent ebceb1f78c
commit 72940990d3
11 changed files with 5387 additions and 151 deletions
+2
View File
@@ -0,0 +1,2 @@
return require('barcode_locator');
}));
+13
View File
@@ -0,0 +1,13 @@
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
//Allow using this built library as an AMD module
//in another project. That other project will only
//see this AMD call, not the internal modules in
//the closure below.
define([], factory);
} else {
//Browser globals case. Just assign the
//result to a property on the global.
root.Locator = factory();
}
}(this, function () {