Skip to content

Commit c9b88c1

Browse files
committed
+ and > are now correct
1 parent 6fee0eb commit c9b88c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pup.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
// |/ \_( # |"
1818
// C/ ,--___/
1919

20-
var VERSION string = "0.3.5"
20+
var VERSION string = "0.3.6"
2121

2222
func main() {
2323
// process flags and arguments
@@ -55,9 +55,9 @@ func main() {
5555
switch cmd {
5656
case "*": // select all
5757
continue
58-
case "+":
59-
funcGenerator = SelectFromChildren
6058
case ">":
59+
funcGenerator = SelectFromChildren
60+
case "+":
6161
funcGenerator = SelectNextSibling
6262
case ",": // nil will signify a comma
6363
selectorFuncs = append(selectorFuncs, nil)

0 commit comments

Comments
 (0)