URI.js 688 B

12345678910111213141516171819202122232425262728293031
  1. /**
  2. * Copyright (c) 2013-present, Facebook, Inc.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. *
  7. *
  8. */
  9. 'use strict';
  10. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  11. var URI =
  12. /*#__PURE__*/
  13. function () {
  14. function URI(uri) {
  15. _defineProperty(this, "_uri", void 0);
  16. this._uri = uri;
  17. }
  18. var _proto = URI.prototype;
  19. _proto.toString = function toString() {
  20. return this._uri;
  21. };
  22. return URI;
  23. }();
  24. module.exports = URI;