Preparing node-version

This commit is contained in:
Christoph Oberhofer
2015-09-14 00:08:47 +02:00
parent ed39bd10ce
commit 3bd8e66ccf
5 changed files with 12 additions and 21 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ define(["cv_utils"], function(CVUtils) {
stepSize: [_stepSizeX, _stepSizeY],
size: _targetImageArray.shape,
topRight: _topRight
}, null, 2));
}));
/**
* Uses the given array as frame-buffer
+6 -5
View File
@@ -1,12 +1,13 @@
var requirejs = require('requirejs');
var requirejs = require('requirejs'),
path = require('path');
requirejs.config({
"baseUrl" : "../src",
"baseUrl" : path.resolve(__dirname, '..', 'src'),
"paths" : {
"typedefs" : "typedefs",
"input_stream": "../lib/input_stream",
"frame_grabber": "../lib/frame_grabber"
}
},
nodeRequire: require
});
module.exports = requirejs('quagga');
module.exports = requirejs('quagga');