-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for absolute path queries.
Paths that are prefixed with '/' or '//' are now handled. If a path is prefixed with '//', it will perform an all-descendant search starting from the root. If a path is prefixed with a single '/', it will perform a search starting from the root. THIS IS A BREAKING CHANGE FOR '//' QUERIES. Previously, a path that was prefixed with '//' would begin from the current element, not from the root. To retain the old behavior, the path must be prefixed with './/' instead of '//'.
- Loading branch information
Showing
2 changed files
with
58 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters