Skip to content
Permalink
Browse files
Map upward to xpath using filter syntax converter
Related issue:
- #224
  • Loading branch information
DandelionSprout authored and JustOff committed Jun 18, 2020
1 parent 164f472 commit 3d979a0bcab0ca93b1ece167e039e2a7ce518523
Showing with 10 additions and 1 deletion.
  1. +10 −1 src/js/assets.js
@@ -356,7 +356,16 @@ api.fetchFilterList.legacy = {
':nth-ancestor(6)': ':xpath(../../../../../..)',
':nth-ancestor(7)': ':xpath(../../../../../../..)',
':nth-ancestor(8)': ':xpath(../../../../../../../..)',
':nth-ancestor(9)': ':xpath(../../../../../../../../..)'
':nth-ancestor(9)': ':xpath(../../../../../../../../..)',
':upward(1)': ':xpath(..)',
':upward(2)': ':xpath(../..)',
':upward(3)': ':xpath(../../..)',
':upward(4)': ':xpath(../../../..)',
':upward(5)': ':xpath(../../../../..)',
':upward(6)': ':xpath(../../../../../..)',
':upward(7)': ':xpath(../../../../../../..)',
':upward(8)': ':xpath(../../../../../../../..)',
':upward(9)': ':xpath(../../../../../../../../..)'
},
get regexRules() {
delete this.regexRules;

0 comments on commit 3d979a0

Please sign in to comment.