You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
710 B

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