Skip to content

Commit

Permalink
+ and > are now correct
Browse files Browse the repository at this point in the history
  • Loading branch information
ericchiang committed Dec 7, 2014
1 parent 6fee0eb commit c9b88c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pup.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
// |/ \_( # |"
// C/ ,--___/

var VERSION string = "0.3.5"
var VERSION string = "0.3.6"

func main() {
// process flags and arguments
Expand Down Expand Up @@ -55,9 +55,9 @@ func main() {
switch cmd {
case "*": // select all
continue
case "+":
funcGenerator = SelectFromChildren
case ">":
funcGenerator = SelectFromChildren
case "+":
funcGenerator = SelectNextSibling
case ",": // nil will signify a comma
selectorFuncs = append(selectorFuncs, nil)
Expand Down

0 comments on commit c9b88c1

Please sign in to comment.