1 | "use strict";
|
2 | var __extends = (this && this.__extends) || (function () {
|
3 | var extendStatics = function (d, b) {
|
4 | extendStatics = Object.setPrototypeOf ||
|
5 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6 | function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
7 | return extendStatics(d, b);
|
8 | };
|
9 | return function (d, b) {
|
10 | extendStatics(d, b);
|
11 | function __() { this.constructor = d; }
|
12 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
13 | };
|
14 | })();
|
15 | Object.defineProperty(exports, "__esModule", { value: true });
|
16 | exports.MemoryLocationService = void 0;
|
17 | var baseLocationService_1 = require("./baseLocationService");
|
18 |
|
19 | var MemoryLocationService = (function (_super) {
|
20 | __extends(MemoryLocationService, _super);
|
21 | function MemoryLocationService(router) {
|
22 | return _super.call(this, router, true) || this;
|
23 | }
|
24 | MemoryLocationService.prototype._get = function () {
|
25 | return this._url;
|
26 | };
|
27 | MemoryLocationService.prototype._set = function (state, title, url, replace) {
|
28 | this._url = url;
|
29 | };
|
30 | return MemoryLocationService;
|
31 | }(baseLocationService_1.BaseLocationServices));
|
32 | exports.MemoryLocationService = MemoryLocationService;
|
33 |
|
\ | No newline at end of file |