chardet/match.js

5 lines
144 B
JavaScript

module.exports = function(det, rec, confidence, name, lang) {
this.confidence = confidence;
this.name = name || rec.name(det);
};