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

Issue 6945067: code review 6945067: go.talks/present: abstract websocket code from playground UI (Closed)

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

Description

go.talks/present: use Playground API when served by App Engine

Patch Set 1 #

Patch Set 2 : diff -r a067e3468ab3 https://code.google.com/p/go.talks #

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

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

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

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

Total comments: 2

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

Total comments: 14

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

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

Total comments: 2

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+475 lines, -200 lines) Patch
M present/appengine.go View 1 2 3 4 5 6 7 8 9 1 chunk +42 lines, -3 lines 0 comments Download
M present/main.go View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
A present/play.go View 1 2 3 4 5 6 7 1 chunk +30 lines, -0 lines 0 comments Download
M present/socket.go View 1 2 3 4 5 1 chunk +4 lines, -6 lines 0 comments Download
A present/static/jquery.js View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M present/static/play.js View 1 2 3 4 5 6 7 5 chunks +19 lines, -57 lines 0 comments Download
M present/static/playground.js View 1 2 3 4 5 6 7 8 9 1 chunk +307 lines, -125 lines 0 comments Download
A present/static/socket.js View 1 2 3 4 5 6 1 chunk +66 lines, -0 lines 0 comments Download
M present/static/styles.css View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M present/templates/article.tmpl View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M present/templates/slides.tmpl View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6
adg
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go.talks
11 years, 4 months ago (2012-12-17 00:20:07 UTC) #1
adg
https://codereview.appspot.com/6945067/diff/6005/present/static/playground.js File present/static/playground.js (right): https://codereview.appspot.com/6945067/diff/6005/present/static/playground.js#newcode1 present/static/playground.js:1: // Copyright 2012 The Go Authors. All rights reserved. ...
11 years, 4 months ago (2012-12-17 02:20:21 UTC) #2
dsymonds
https://codereview.appspot.com/6945067/diff/6006/present/appengine.go File present/appengine.go (right): https://codereview.appspot.com/6945067/diff/6006/present/appengine.go#newcode20 present/appengine.go:20: const runUrl = "http://golang.org/compile" runURL https://codereview.appspot.com/6945067/diff/6006/present/appengine.go#newcode43 present/appengine.go:43: c.Errorf("making POST ...
11 years, 4 months ago (2012-12-17 02:59:35 UTC) #3
adg
https://codereview.appspot.com/6945067/diff/6006/present/appengine.go File present/appengine.go (right): https://codereview.appspot.com/6945067/diff/6006/present/appengine.go#newcode20 present/appengine.go:20: const runUrl = "http://golang.org/compile" On 2012/12/17 02:59:35, dsymonds wrote: ...
11 years, 4 months ago (2012-12-17 03:13:29 UTC) #4
dsymonds
LGTM https://codereview.appspot.com/6945067/diff/8024/present/appengine.go File present/appengine.go (right): https://codereview.appspot.com/6945067/diff/8024/present/appengine.go#newcode39 present/appengine.go:39: b.WriteTo(w) io.Copy(w, b) is probably the most efficient; ...
11 years, 4 months ago (2012-12-17 03:24:49 UTC) #5
adg
11 years, 4 months ago (2012-12-17 03:30:51 UTC) #6
*** Submitted as
https://code.google.com/p/go/source/detail?r=23a6d0a397e8&repo=talks ***

go.talks/present: use Playground API when served by App Engine

R=golang-dev, dsymonds
CC=golang-dev
https://codereview.appspot.com/6945067

https://codereview.appspot.com/6945067/diff/8024/present/appengine.go
File present/appengine.go (right):

https://codereview.appspot.com/6945067/diff/8024/present/appengine.go#newcode39
present/appengine.go:39: b.WriteTo(w)
On 2012/12/17 03:24:49, dsymonds wrote:
> io.Copy(w, b) is probably the most efficient; I can never remember who sniffs
> for what, except I know io.Copy sniffs everything.

Done.
Sign in to reply to this message.

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