Skip to content

Commit 8efc650

Browse files
committed
pat-navigationmarker: TODO TODO: define TODOs.
1 parent c31f6a8 commit 8efc650

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/pat/navigationmarker/navigationmarker.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ class Pattern extends BasePattern {
2727
this.scan_navigation();
2828
}
2929

30-
scan_navigation() {
30+
scan_navigation(e) {
31+
// TODO:‌Check, if all these ways to get the current URL are valid.
32+
// TODO:Also check, if we could move that method to a core utility module, where it can be reused by other patterns, retrieving the current URL.
33+
// TODO: Maybe even a central current-url store?
3134
const href =
3235
e?.destination?.url ||
3336
document.body.dataset.baseUrl || // NOTE: TODO: Attention: If this is not yet updated, there would be an outdated URL.

0 commit comments

Comments
 (0)