Remove deprecated method

This commit is contained in:
RMidhunSuresh 2022-02-22 11:43:35 +05:30
parent 92c79c853d
commit 92e8fc8ad3

View file

@ -126,7 +126,7 @@ export function addPanelIfNeeded<T extends SegmentType>(navigation: Navigation<T
export function parseUrlPath(urlPath: string, currentNavPath: Path<SegmentType>, defaultSessionId: string): Segment<SegmentType>[] { export function parseUrlPath(urlPath: string, currentNavPath: Path<SegmentType>, defaultSessionId: string): Segment<SegmentType>[] {
// substr(1) to take of initial / // substr(1) to take of initial /
const parts = urlPath.substr(1).split("/"); const parts = urlPath.substring(1).split("/");
const iterator = parts[Symbol.iterator](); const iterator = parts[Symbol.iterator]();
const segments: Segment<SegmentType>[] = []; const segments: Segment<SegmentType>[] = [];
let next; let next;