Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1169)

Issue 6523045: code review 6523045: godoc: make examples editable and runnable in playground (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 6 months ago by adg
Modified:
12 years, 5 months ago
Reviewers:
CC:
dsymonds, golang-dev
Visibility:
Public.

Description

godoc: make examples editable and runnable in playground

Patch Set 1 #

Patch Set 2 : diff -r 838111caecdd https://go.googlecode.com/hg #

Patch Set 3 : diff -r b09f4985724f https://code.google.com/p/go #

Patch Set 4 : diff -r b09f4985724f https://code.google.com/p/go #

Patch Set 5 : diff -r 3d637cc9dff0 https://code.google.com/p/go #

Patch Set 6 : diff -r 3d637cc9dff0 https://code.google.com/p/go #

Patch Set 7 : diff -r 3d637cc9dff0 https://code.google.com/p/go #

Total comments: 7

Patch Set 8 : diff -r 3d637cc9dff0 https://code.google.com/p/go #

Patch Set 9 : diff -r e10f183a55fb https://code.google.com/p/go #

Patch Set 10 : diff -r e10f183a55fb https://code.google.com/p/go #

Total comments: 1

Patch Set 11 : diff -r e10f183a55fb https://code.google.com/p/go #

Total comments: 4

Patch Set 12 : diff -r e10f183a55fb https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -107 lines) Patch
M doc/play/playground.js View 1 2 3 4 5 6 7 8 9 10 10 chunks +62 lines, -92 lines 0 comments Download
M doc/style.css View 1 2 3 4 5 6 7 8 3 chunks +78 lines, -0 lines 0 comments Download
M lib/godoc/example.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +18 lines, -5 lines 0 comments Download
M lib/godoc/package.html View 1 2 3 4 5 6 7 8 9 1 chunk +42 lines, -0 lines 0 comments Download
M src/cmd/godoc/godoc.go View 1 2 3 4 5 6 7 4 chunks +25 lines, -7 lines 0 comments Download
M src/cmd/godoc/main.go View 1 2 3 4 5 6 7 2 chunks +23 lines, -3 lines 0 comments Download

Messages

Total messages: 10
adg
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
12 years, 5 months ago (2012-10-03 05:56:09 UTC) #1
adg
I'm still working on the UI for this. Please review the godoc changes primarily. http://codereview.appspot.com/6523045/diff/14001/doc/play/playground.js ...
12 years, 5 months ago (2012-10-03 06:00:59 UTC) #2
gri
FYI https://codereview.appspot.com/6523045/diff/14001/src/cmd/godoc/godoc.go File src/cmd/godoc/godoc.go (right): https://codereview.appspot.com/6523045/diff/14001/src/cmd/godoc/godoc.go#newcode359 src/cmd/godoc/godoc.go:359: buf := new(bytes.Buffer) I usually wrote var buf ...
12 years, 5 months ago (2012-10-03 17:49:21 UTC) #3
adg
https://codereview.appspot.com/6523045/diff/14001/src/cmd/godoc/godoc.go File src/cmd/godoc/godoc.go (right): https://codereview.appspot.com/6523045/diff/14001/src/cmd/godoc/godoc.go#newcode359 src/cmd/godoc/godoc.go:359: buf := new(bytes.Buffer) On 2012/10/03 17:49:21, gri wrote: > ...
12 years, 5 months ago (2012-10-03 21:50:03 UTC) #4
adg
Hello gri@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 5 months ago (2012-10-03 21:50:30 UTC) #5
gri
LGTM (.go changes)
12 years, 5 months ago (2012-10-03 21:53:37 UTC) #6
adg
Hello gri@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 5 months ago (2012-10-04 05:46:50 UTC) #7
adg
Hi Dave, can you please review the javascript/template parts of this? gri has already reviewed ...
12 years, 5 months ago (2012-10-04 05:51:52 UTC) #8
dsymonds
LGTM only looked at the non .go files. https://codereview.appspot.com/6523045/diff/10007/doc/play/playground.js File doc/play/playground.js (right): https://codereview.appspot.com/6523045/diff/10007/doc/play/playground.js#newcode122 doc/play/playground.js:122: if ...
12 years, 5 months ago (2012-10-04 06:00:13 UTC) #9
adg
12 years, 5 months ago (2012-10-04 06:53:11 UTC) #10
*** Submitted as http://code.google.com/p/go/source/detail?r=284f6a1e531b ***

godoc: make examples editable and runnable in playground

R=dsymonds
CC=golang-dev
http://codereview.appspot.com/6523045

http://codereview.appspot.com/6523045/diff/10007/doc/play/playground.js
File doc/play/playground.js (right):

http://codereview.appspot.com/6523045/diff/10007/doc/play/playground.js#newco...
doc/play/playground.js:122: if (window.history &&
On 2012/10/04 06:00:13, dsymonds wrote:
> unwrap? this is hard to read.

This is syncing to the playground.js in the go-playground repo, so I won't make
the change in this CL, but I agree.

http://codereview.appspot.com/6523045/diff/10007/lib/godoc/example.html
File lib/godoc/example.html (right):

http://codereview.appspot.com/6523045/diff/10007/lib/godoc/example.html#newco...
lib/godoc/example.html:15: <a class="fmt" title="Fromat this code">Format</a>
On 2012/10/04 06:00:13, dsymonds wrote:
> typo: "Format"

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b