|
@@ -2,6 +2,9 @@ import { pathUtils } from 'growi-commons';
|
|
|
|
|
|
|
|
import PagePath from './PagePath';
|
|
import PagePath from './PagePath';
|
|
|
|
|
|
|
|
|
|
+/**
|
|
|
|
|
+ * Linked Array Structured PagePath Model
|
|
|
|
|
+ */
|
|
|
export default class LinkedPagePath {
|
|
export default class LinkedPagePath {
|
|
|
|
|
|
|
|
constructor(path, skipNormalize = false) {
|
|
constructor(path, skipNormalize = false) {
|
|
@@ -23,9 +26,4 @@ export default class LinkedPagePath {
|
|
|
return pathUtils.normalizePath(`${this.parent.href}/${this.pathName}`);
|
|
return pathUtils.normalizePath(`${this.parent.href}/${this.pathName}`);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- get escapedPathName() {
|
|
|
|
|
- // TODO: impl
|
|
|
|
|
- return this.pathName;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
}
|
|
}
|