Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
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 1.1KB

12345678910111213141516171819202122232425
  1. "use strict";
  2. const { URL, URLSearchParams } = require("./webidl2js-wrapper");
  3. const urlStateMachine = require("./dist/url-state-machine");
  4. const percentEncoding = require("./dist/percent-encoding");
  5. const sharedGlobalObject = {};
  6. URL.install(sharedGlobalObject, ["Window"]);
  7. URLSearchParams.install(sharedGlobalObject, ["Window"]);
  8. exports.URL = sharedGlobalObject.URL;
  9. exports.URLSearchParams = sharedGlobalObject.URLSearchParams;
  10. exports.parseURL = urlStateMachine.parseURL;
  11. exports.basicURLParse = urlStateMachine.basicURLParse;
  12. exports.serializeURL = urlStateMachine.serializeURL;
  13. exports.serializeHost = urlStateMachine.serializeHost;
  14. exports.serializeInteger = urlStateMachine.serializeInteger;
  15. exports.serializeURLOrigin = urlStateMachine.serializeURLOrigin;
  16. exports.setTheUsername = urlStateMachine.setTheUsername;
  17. exports.setThePassword = urlStateMachine.setThePassword;
  18. exports.cannotHaveAUsernamePasswordPort = urlStateMachine.cannotHaveAUsernamePasswordPort;
  19. exports.percentDecodeString = percentEncoding.percentDecodeString;
  20. exports.percentDecodeBytes = percentEncoding.percentDecodeBytes;