Skip to content

Commit

Permalink
removed unused dependencies; updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Oberhofer committed Sep 15, 2015
1 parent 48ff1f8 commit a7deedf
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 32,668 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,8 @@ on the ``singleChannel`` flag in the configuration when using ``decodeSingle``.
## <a name="changelog">Changelog</a>

### 2015-09-15
Take a look at the release-notes ([0.7.0]
(https://github.com/serratus/quaggaJS/releases/tag/v0.7.0))
- Features
- Added basic support for running QuaggaJS inside __node__ (see [example]
(#node-example))
Expand Down
2 changes: 1 addition & 1 deletion dist/quagga.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/file_input_require.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ <h3>Working with file-input</h3>
</p>
</footer>
<script src="../src/vendor/jquery-1.9.0.min.js" type="text/javascript"></script>
<script data-main="file_input_require.js" src="../src/vendor/require.js"></script>
<script data-main="file_input_require.js" src="../node_modules/requirejs/require.js"></script>
</body>
</html>
17 changes: 4 additions & 13 deletions example/file_input_require.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,16 @@ requirejs.config({
"typedefs" : {
"deps" : [],
"exports" : "typedefs"
},
"glMatrix" : {
"deps" : ["typedefs"],
"exports" : "glMatrix"
},
"glMatrixAddon" : {
"deps" : ["glMatrix"],
"exports" : "glMatrixAddon"
}
},

"paths" : {
"typedefs" : "typedefs",
"glMatrix" : "vendor/glMatrix",
"glMatrixAddon" : "glMatrixAddon"
"gl-matrix": "../node_modules/gl-matrix/dist/gl-matrix-min"
}
});

define(['quagga'], function(Quagga) {
requirejs(['quagga'], function(Quagga) {
var App = {
init: function() {
App.attachListeners();
Expand Down Expand Up @@ -116,13 +107,13 @@ define(['quagga'], function(Quagga) {
singleChannel: false
},
locator: {
patchSize: "large",
patchSize: "medium",
halfSample: true,
showCanvas: true
},
numOfWorkers: 0,
decoder: {
readers: ["i2of5_reader"],
readers: ["code_128_reader"],
showFrequency: true,
showPattern: true
},
Expand Down
Loading

0 comments on commit a7deedf

Please sign in to comment.