Skip to content

Commit

Permalink
Fixing opts
Browse files Browse the repository at this point in the history
  • Loading branch information
antimatter15 committed Oct 8, 2016
1 parent c2a06b4 commit cb64192
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -12245,6 +12245,7 @@ function handleRecognize(req, res) {
base.Init(null, lang);
res.progress({ status: 'initialized with language' });

var options = req.options;
for (var option in options) {
if (options.hasOwnProperty(option)) {
base.SetVariable(option, options[option]);
Expand Down
1 change: 1 addition & 0 deletions src/common/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ function handleRecognize(req, res){
base.Init(null, lang)
res.progress({ status: 'initialized with language' })

var options = req.options;
for (var option in options) {
if (options.hasOwnProperty(option)) {
base.SetVariable(option, options[option]);
Expand Down

0 comments on commit cb64192

Please sign in to comment.