Preparing node-version

pull/65/head
Christoph Oberhofer 10 years ago
parent ed39bd10ce
commit 3bd8e66ccf

10
dist/quagga.js vendored

@ -2597,16 +2597,6 @@ define('rasterizer',["tracer"], function(Tracer) {
define('skeletonizer',[],function() { define('skeletonizer',[],function() {
"use strict"; "use strict";
Math.imul = Math.imul || function(a, b) {
var ah = (a >>> 16) & 0xffff;
var al = a & 0xffff;
var bh = (b >>> 16) & 0xffff;
var bl = b & 0xffff;
// the shift by 0 fixes the sign on the high part
// the final |0 converts the unsigned value into a signed value
return ((al * bl) + (((ah * bl + al * bh) << 16) >>> 0)|0);
};
/* @preserve ASM BEGIN */ /* @preserve ASM BEGIN */
function Skeletonizer(stdlib, foreign, buffer) { function Skeletonizer(stdlib, foreign, buffer) {
"use asm"; "use asm";

File diff suppressed because one or more lines are too long

@ -31,7 +31,7 @@ define(["cv_utils"], function(CVUtils) {
stepSize: [_stepSizeX, _stepSizeY], stepSize: [_stepSizeX, _stepSizeY],
size: _targetImageArray.shape, size: _targetImageArray.shape,
topRight: _topRight topRight: _topRight
}, null, 2)); }));
/** /**
* Uses the given array as frame-buffer * Uses the given array as frame-buffer

@ -1,12 +1,13 @@
var requirejs = require('requirejs'); var requirejs = require('requirejs'),
path = require('path');
requirejs.config({ requirejs.config({
"baseUrl" : "../src", "baseUrl" : path.resolve(__dirname, '..', 'src'),
"paths" : { "paths" : {
"typedefs" : "typedefs", "typedefs" : "typedefs",
"input_stream": "../lib/input_stream", "input_stream": "../lib/input_stream",
"frame_grabber": "../lib/frame_grabber" "frame_grabber": "../lib/frame_grabber"
} },
nodeRequire: require
}); });
module.exports = requirejs('quagga'); module.exports = requirejs('quagga');

@ -23,7 +23,6 @@
"karma-sinon": "^1.0.4", "karma-sinon": "^1.0.4",
"karma-sinon-chai": "~0.2.0", "karma-sinon-chai": "~0.2.0",
"mocha": "^2.3.2", "mocha": "^2.3.2",
"requirejs": "^2.1.20",
"sinon": "^1.16.1" "sinon": "^1.16.1"
}, },
"directories": { "directories": {
@ -58,6 +57,7 @@
"get-pixels": "^3.2.3", "get-pixels": "^3.2.3",
"gl-matrix": "^2.3.1", "gl-matrix": "^2.3.1",
"ndarray": "^1.0.18", "ndarray": "^1.0.18",
"ndarray-linear-interpolate": "^1.0.0" "ndarray-linear-interpolate": "^1.0.0",
"requirejs": "^2.1.20"
} }
} }

Loading…
Cancel
Save