]> Cypherpunks repositories - gostls13.git/commit
text/template: address a couple of issues for html/template
authorRob Pike <r@golang.org>
Mon, 28 Nov 2011 18:42:57 +0000 (10:42 -0800)
committerRob Pike <r@golang.org>
Mon, 28 Nov 2011 18:42:57 +0000 (10:42 -0800)
commit5f6027e9ad9a6f115399a93c5d330cbf2d66e85f
tree89053146db61fdbd3700602affc079f56d7a8dc6
parent356b8ee26fa02643b166ae77870e24293260ba90
text/template: address a couple of issues for html/template
- allow Lookup to work on uninitialized templates
- fix bug in add: can't error after parser is stopped
- add Add method for html/template

R=adg, rogpeppe, r, rsc
CC=golang-dev
https://golang.org/cl/5436080
src/pkg/text/template/parse/parse.go
src/pkg/text/template/template.go