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.

index.js 733B

1234567891011121314151617181920212223
  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("./utf32"),
  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. // Put all encoding/alias/codec definitions to single object and export it.
  16. for (var i = 0; i < modules.length; i++) {
  17. var module = modules[i];
  18. for (var enc in module)
  19. if (Object.prototype.hasOwnProperty.call(module, enc))
  20. exports[enc] = module[enc];
  21. }