]> Cypherpunks repositories - gostls13.git/commit
text/template: replace Add with AddParseTree
authorRob Pike <r@golang.org>
Thu, 1 Dec 2011 17:19:53 +0000 (09:19 -0800)
committerRob Pike <r@golang.org>
Thu, 1 Dec 2011 17:19:53 +0000 (09:19 -0800)
commitd38cc47c0c2d830fd745b49bf6be1b0ff0e17b14
tree7329ea21b94e094bcd797f07a1d3f476f6a433e2
parent6bee4e556fddec07cbdeb348dd91d3e55f7e2960
text/template: replace Add with AddParseTree
Makes it clear we're adding exactly one tree and creating a
new template for it.

R=rsc
CC=golang-dev
https://golang.org/cl/5448077
src/pkg/html/template/escape.go
src/pkg/html/template/template.go
src/pkg/text/template/multi_test.go
src/pkg/text/template/template.go