1
|
"use strict";
|
2
|
|
3
|
// Update this array if you add/rename/remove files in this directory.
|
4
|
// We support Browserify by skipping automatic module discovery and requiring modules directly.
|
5
|
var modules = [
|
6
|
require("./internal"),
|
7
|
require("./utf16"),
|
8
|
require("./utf7"),
|
9
|
require("./sbcs-codec"),
|
10
|
require("./sbcs-data"),
|
11
|
require("./sbcs-data-generated"),
|
12
|
require("./dbcs-codec"),
|
13
|
require("./dbcs-data"),
|
14
|
];
|
15
|
|
16
|
// Put all encoding/alias/codec definitions to single object and export it.
|
17
|
for (var i = 0; i < modules.length; i++) {
|
18
|
var module = modules[i];
|
19
|
for (var enc in module)
|
20
|
if (Object.prototype.hasOwnProperty.call(module, enc))
|
21
|
exports[enc] = module[enc];
|
22
|
}
|