History

Add Go documentation

Thibaut committed 12 years ago

Commit f657dfd1 parent 50f1ca914 files · +122 −-3Browse files

Showing the changes to assets/javascripts (3 of 14 files). Show all

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +5 −0
  2. assets/javascripts/templates/pages/news_tmpl.coffee +4 −1
  3. assets/javascripts/views/pages/go.coffee +6 −0
assets/javascripts/templates/pages/about_tmpl.coffee+5−0
@@ -115,6 +115,11 @@ credits = [ · 114 unmodified lines
115 '2005-2014 Linus Torvalds and others',115 '2005-2014 Linus Torvalds and others',
116 'GPLv2',116 'GPLv2',
117 'https://raw.github.com/git/git/master/COPYING'117 'https://raw.github.com/git/git/master/COPYING'
118 ], [
119 'Go',
120 'Google, Inc.',
121 'CC BY',
122 'http://creativecommons.org/licenses/by/3.0/'
118 ], [123 ], [
119 'HTTP',124 'HTTP',
120 '1999 The Internet Society',125 '1999 The Internet Society',
assets/javascripts/templates/pages/news_tmpl.coffee+4−1
@@ -24,7 +24,10 @@ newsItem = (date, news) -> · 23 unmodified lines
24 result24 result
25 25
26app.news = [26app.news = [
27 [ 1396137600000, # March 30, 201427 [ 1396742400000, # April 6, 2014
28 """ New <a href="/go/">Go</a> documentation """,
29 ], [
30 1396137600000, # March 30, 2014
28 """ New <a href="/cpp/">C++</a> documentation """,31 """ New <a href="/cpp/">C++</a> documentation """,
29 ], [32 ], [
30 1394928000000, # March 16, 201433 1394928000000, # March 16, 2014
assets/javascripts/views/pages/go.coffee+6−0
@@ -0,0 +1,6 @@
1#= require views/pages/base
2
3class app.views.GoPage extends app.views.BasePage
4 afterRender: ->
5 @highlightCode @findAll('pre'), 'go'
6 return