doc fixes

This commit is contained in:
Martin Angers
2012-08-31 10:47:28 -04:00
parent f1e54e5311
commit a139b5d77f
5 changed files with 103 additions and 41 deletions

View File

@@ -21,6 +21,11 @@ func (this *Selection) AddSelection(sel *Selection) *Selection {
return this.AddNodes(sel.Nodes...)
}
// Union() is an alias for AddSelection().
func (this *Selection) Union(sel *Selection) *Selection {
return this.AddSelection(sel)
}
// AddNodes() adds the specified nodes to those in the
// current selection and returns a new Selection object.
func (this *Selection) AddNodes(nodes ...*html.Node) *Selection {