mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-12 21:21:42 +08:00
Include source-files
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
return require('quagga');
|
||||
}));
|
||||
@@ -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.Quagga = factory();
|
||||
}
|
||||
}(this, function () {
|
||||
Reference in New Issue
Block a user