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

Issue 6863049: code review 6863049: go.talks/pkg/present: refactor to remove action templat... (Closed)

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

Description

go.talks/pkg/present: refactor to remove action template functions Now the Parse function reads all source files (including included code files), and the template execution only renders templates. (Previously, the two stages were confused.)

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -121 lines) Patch
M pkg/present/code.go View 4 chunks +41 lines, -51 lines 0 comments Download
M pkg/present/html.go View 2 chunks +6 lines, -6 lines 0 comments Download
M pkg/present/image.go View 1 chunk +10 lines, -16 lines 0 comments Download
M pkg/present/link.go View 1 2 chunks +8 lines, -17 lines 0 comments Download
M pkg/present/parse.go View 1 4 chunks +22 lines, -21 lines 0 comments Download
M present/templates/action.tmpl View 2 chunks +6 lines, -4 lines 0 comments Download
M present/templates/article.tmpl View 1 1 chunk +3 lines, -3 lines 0 comments Download
M present/templates/slides.tmpl View 1 2 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 3
adg
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go.talks
11 years, 5 months ago (2012-12-03 00:54:51 UTC) #1
dsymonds
LGTM It looks like there's still a fair amount of template.HTML abuse, but this CL ...
11 years, 5 months ago (2012-12-05 03:44:09 UTC) #2
adg
11 years, 5 months ago (2012-12-05 03:46:37 UTC) #3
*** Submitted as
https://code.google.com/p/go/source/detail?r=4de2599667fd&repo=talks ***

go.talks/pkg/present: refactor to remove action template functions

Now the Parse function reads all source files (including included
code files), and the template execution only renders templates.
(Previously, the two stages were confused.)

R=golang-dev, dsymonds
CC=golang-dev
https://codereview.appspot.com/6863049
Sign in to reply to this message.

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