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

Unified Diff: present/dir.go

Issue 22450043: code review 22450043: go.talks: Show "run" button only for files with extensi... (Closed)
Patch Set: diff -r 53e8e0f32967 https://code.google.com/p/go.talks Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « present/appengine.go ('k') | present/local.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: present/dir.go
===================================================================
--- a/present/dir.go
+++ b/present/dir.go
@@ -81,6 +81,7 @@
// Read and parse the input.
tmpl := present.Template()
+ tmpl = tmpl.Funcs(template.FuncMap{"playable": playable})
if _, err := tmpl.ParseFiles(actionTmpl, contentTmpl); err != nil {
return err
}
« no previous file with comments | « present/appengine.go ('k') | present/local.go » ('j') | no next file with comments »

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