|
|
@ -3,7 +3,7 @@ const circularize = require('./common/circularize.js') |
|
|
|
const TesseractJob = require('./common/job'); |
|
|
|
const TesseractJob = require('./common/job'); |
|
|
|
const version = require('../package.json').version; |
|
|
|
const version = require('../package.json').version; |
|
|
|
|
|
|
|
|
|
|
|
function create(workerOptions = {}){ |
|
|
|
const create = function(workerOptions = {}){ |
|
|
|
var worker = new TesseractWorker(Object.assign({}, adapter.defaultOptions, workerOptions)); |
|
|
|
var worker = new TesseractWorker(Object.assign({}, adapter.defaultOptions, workerOptions)); |
|
|
|
worker.create = create; |
|
|
|
worker.create = create; |
|
|
|
worker.version = version; |
|
|
|
worker.version = version; |
|
|
|