]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/godoc: set up playground for examples that are already visible
authorAndrew Gerrand <adg@golang.org>
Mon, 1 Jul 2013 22:44:25 +0000 (08:44 +1000)
committerAndrew Gerrand <adg@golang.org>
Mon, 1 Jul 2013 22:44:25 +0000 (08:44 +1000)
commit493538adbfc5a580f9c5c92e2789769a7237e19a
tree4aff9c605c590b38396abba0383910f151e9ad6e
parent1184407f2a2955fe2befd22896ee9bf49cd0defe
cmd/godoc: set up playground for examples that are already visible

This fixes an issue where linking directly to an example makes it not
runnable and visible only in a tiny window. To see the bug in action,
link: http://golang.org/pkg/strings/#example_Map
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/10679050
doc/godocs.js
lib/godoc/package.html