mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-12 21:21:42 +08:00
Fixes Code 39 decoding where parts of the results are skipped. Relates to #41
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
quaggaJS
|
||||
========
|
||||
|
||||
- [Changelog](#changelog) (2015-10-13)
|
||||
- [Changelog](#changelog) (2015-11-15)
|
||||
|
||||
## What is QuaggaJS?
|
||||
|
||||
@@ -434,6 +434,12 @@ on the ``singleChannel`` flag in the configuration when using ``decodeSingle``.
|
||||
|
||||
## <a name="changelog">Changelog</a>
|
||||
|
||||
### 2015-11-15
|
||||
|
||||
- Fixes
|
||||
- Fixed inconsistency in Code 39 decoding
|
||||
- added inline-source-map to quagga.js file
|
||||
|
||||
### 2015-10-13
|
||||
Take a look at the release-notes ([0.8.0]
|
||||
(https://github.com/serratus/quaggaJS/releases/tag/v0.8.0))
|
||||
|
||||
Vendored
+2
-1
File diff suppressed because one or more lines are too long
Vendored
+3
-3
File diff suppressed because one or more lines are too long
@@ -94,7 +94,7 @@
|
||||
</p>
|
||||
</footer>
|
||||
|
||||
<script src="../src/vendor/jquery-1.9.0.min.js" type="text/javascript"></script>
|
||||
<script src="vendor/jquery-1.9.0.min.js" type="text/javascript"></script>
|
||||
<script src="../dist/quagga.js" type="text/javascript"></script>
|
||||
<script src="live_w_locator.js" type="text/javascript"></script>
|
||||
</body>
|
||||
|
||||
+2
-1
File diff suppressed because one or more lines are too long
+2
-1
@@ -9,7 +9,7 @@
|
||||
"babel-core": "^5.8.25",
|
||||
"babel-eslint": "^4.1.3",
|
||||
"babel-loader": "^5.3.2",
|
||||
"chai": "^3.2.0",
|
||||
"chai": "^1.10.0",
|
||||
"core-js": "^1.2.1",
|
||||
"grunt": "^0.4.5",
|
||||
"grunt-contrib-jshint": "^0.11.3",
|
||||
@@ -30,6 +30,7 @@
|
||||
"karma-source-map-support": "^1.1.0",
|
||||
"karma-webpack": "^1.7.0",
|
||||
"mocha": "^2.3.2",
|
||||
"phantomjs": "^1.9.18",
|
||||
"sinon": "^1.16.1",
|
||||
"webpack": "^1.12.2"
|
||||
},
|
||||
|
||||
@@ -10,7 +10,6 @@ MyUmdPlugin.prototype.apply = function(compiler) {
|
||||
var mainTemplate = compilation.mainTemplate;
|
||||
compilation.templatesPlugin("render-with-entry", function(source, chunk, hash) {
|
||||
|
||||
var amdFactory = "factory";
|
||||
return new ConcatSource(new OriginalSource(
|
||||
"(function webpackUniversalModuleDefinition(root, factory) {\n" +
|
||||
" if(typeof exports === 'object' && typeof module === 'object')\n" +
|
||||
|
||||
@@ -116,6 +116,7 @@ Code39Reader.prototype._patternToChar = function(pattern) {
|
||||
return String.fromCharCode(self.ALPHABET[i]);
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
};
|
||||
|
||||
Code39Reader.prototype._findNextWidth = function(counters, current) {
|
||||
|
||||
+2
-3
@@ -6,7 +6,7 @@ module.exports = {
|
||||
entry: [
|
||||
'./src/quagga.js'
|
||||
],
|
||||
devtool: 'source-map',
|
||||
devtool: 'inline-source-map',
|
||||
module: {
|
||||
loaders: [{
|
||||
test: /\.jsx?$/,
|
||||
@@ -24,8 +24,7 @@ module.exports = {
|
||||
output: {
|
||||
path: __dirname + '/dist',
|
||||
publicPath: '/',
|
||||
filename: 'quagga.js',
|
||||
sourceMapFilename: 'quagga.map'
|
||||
filename: 'quagga.js'
|
||||
},
|
||||
devServer: {
|
||||
contentBase: './',
|
||||
|
||||
Reference in New Issue
Block a user