mirror of
https://github.com/go-gitea/gitea
synced 2025-07-05 10:07:22 +00:00
Update to mod enabled version goquery (#8021)
* update to mod enabled version goquery * manually set appengine new release
This commit is contained in:
committed by
Lunny Xiao
parent
cedb285e25
commit
187ae109d0
6
vendor/github.com/PuerkitoBio/goquery/query.go
generated
vendored
6
vendor/github.com/PuerkitoBio/goquery/query.go
generated
vendored
@ -5,11 +5,7 @@ import "golang.org/x/net/html"
|
||||
// Is checks the current matched set of elements against a selector and
|
||||
// returns true if at least one of these elements matches.
|
||||
func (s *Selection) Is(selector string) bool {
|
||||
if len(s.Nodes) > 0 {
|
||||
return s.IsMatcher(compileMatcher(selector))
|
||||
}
|
||||
|
||||
return false
|
||||
return s.IsMatcher(compileMatcher(selector))
|
||||
}
|
||||
|
||||
// IsMatcher checks the current matched set of elements against a matcher and
|
||||
|
Reference in New Issue
Block a user