(ns ...*html.Node)
| 456 | } |
| 457 | |
| 458 | func (s *Selection) wrapAllNodes(ns ...*html.Node) *Selection { |
| 459 | if len(ns) > 0 { |
| 460 | return s.WrapAllNode(ns[0]) |
| 461 | } |
| 462 | return s |
| 463 | } |
| 464 | |
| 465 | // WrapAllNode wraps the given node around the first element in the Selection, |
| 466 | // making all other nodes in the Selection children of the given node. The node |
no test coverage detected