You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
710 B
JavaScript
23 lines
710 B
JavaScript
10 months ago
|
"use strict";
|
||
|
|
||
|
// Update this array if you add/rename/remove files in this directory.
|
||
|
// We support Browserify by skipping automatic module discovery and requiring modules directly.
|
||
|
var modules = [
|
||
|
require("./internal"),
|
||
|
require("./utf16"),
|
||
|
require("./utf7"),
|
||
|
require("./sbcs-codec"),
|
||
|
require("./sbcs-data"),
|
||
|
require("./sbcs-data-generated"),
|
||
|
require("./dbcs-codec"),
|
||
|
require("./dbcs-data"),
|
||
|
];
|
||
|
|
||
|
// Put all encoding/alias/codec definitions to single object and export it.
|
||
|
for (var i = 0; i < modules.length; i++) {
|
||
|
var module = modules[i];
|
||
|
for (var enc in module)
|
||
|
if (Object.prototype.hasOwnProperty.call(module, enc))
|
||
|
exports[enc] = module[enc];
|
||
|
}
|