Fixed ESlint errors

pull/91/head
Christoph Oberhofer 10 years ago
parent 0ed588ecb5
commit 835f524b33

@ -23,7 +23,9 @@
"destructuring": true, "destructuring": true,
"objectLiteralComputedProperties": true "objectLiteralComputedProperties": true
}, },
"globals": {}, "globals": {
"ENV": true
},
"rules": { "rules": {
"no-unused-expressions": 1, "no-unused-expressions": 1,
"no-extra-boolean-cast": 1, "no-extra-boolean-cast": 1,

2
dist/quagga.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -27,7 +27,7 @@ module.exports = {
drawBoundingBox: false, drawBoundingBox: false,
showFrequency: false, showFrequency: false,
drawScanline: false, drawScanline: false,
showPattern: false, showPattern: false
} }
}, },
locator: { locator: {

@ -1,6 +1,6 @@
let config; let config;
if(ENV.development){ if (ENV.development){
config = require('./config.dev.js'); config = require('./config.dev.js');
} else if (ENV.node) { } else if (ENV.node) {
config = require('./config.node.js'); config = require('./config.node.js');

@ -20,6 +20,6 @@ module.exports = {
}, },
locator: { locator: {
halfSample: true, halfSample: true,
patchSize: "medium", // x-small, small, medium, large, x-large patchSize: "medium" // x-small, small, medium, large, x-large
} }
}; };

@ -26,6 +26,6 @@ module.exports = {
}, },
locator: { locator: {
halfSample: true, halfSample: true,
patchSize: "medium", // x-small, small, medium, large, x-large patchSize: "medium" // x-small, small, medium, large, x-large
} }
}; };

Loading…
Cancel
Save