You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that when an instance of Dictionary is passed into generator(dictionaries, options) the error 'unrecognized dictionary type' is encountered.
Generator.prototype.use = function(dict, opt) {
var dicts = this.dicts;
if (dict instanceof Dictionary)
dicts.push(dict);
if (typeof dict == 'string')
dicts.push((new Dictionary()).read(dict, opt));
else if (typeof dict == 'function')
dicts.push(dict(opt));
else
next(new Error('unrecognized dictionary type'));
return this;
};
The text was updated successfully, but these errors were encountered:
It appears that when an instance of Dictionary is passed into generator(dictionaries, options) the error 'unrecognized dictionary type' is encountered.
Generator.prototype.use = function(dict, opt) {
var dicts = this.dicts;
if (dict instanceof Dictionary)
dicts.push(dict);
if (typeof dict == 'string')
dicts.push((new Dictionary()).read(dict, opt));
else if (typeof dict == 'function')
dicts.push(dict(opt));
else
next(new Error('unrecognized dictionary type'));
return this;
};
The text was updated successfully, but these errors were encountered: