History

Add Bower documentation

Thibaut committed 11 years ago

Commit 9d47e021 parent 0fc2aac14 files · +84 −-3Browse files

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

Unified · Split

3 files
  1. assets/javascripts/news.json +1 −1
  2. assets/javascripts/templates/pages/about_tmpl.coffee +5 −0
  3. assets/javascripts/views/pages/bower.coffee +6 −0
assets/javascripts/news.json+1−1
@@ -1,6 +1,6 @@
11 [
22 [ "2014-12-21",
3− "New <a href=\"/react/\">React</a>, <a href=\"/rethinkdb/\">RethinkDB</a>, <a href=\"/socketio/\">Socket.IO</a> and <a href=\"/modernizr/\">Modernizr</a> documentations"
3+ "New <a href=\"/react/\">React</a>, <a href=\"/rethinkdb/\">RethinkDB</a>, <a href=\"/socketio/\">Socket.IO</a>, <a href=\"/modernizr/\">Modernizr</a> and <a href=\"/bower/\">Bower</a> documentations"
44 ], [
55 "2014-11-30",
66 "New <a href=\"/phpunit/\">PHPUnit</a> and <a href=\"/nokogiri/\">Nokogiri</a> documentations"
assets/javascripts/templates/pages/about_tmpl.coffee+5−0
@@ -88,6 +88,11 @@ credits = [ · 87 unmodified lines
8888 '2010-2014 Jeremy Ashkenas, DocumentCloud',
8989 'MIT',
9090 'https://raw.github.com/jashkenas/backbone/master/LICENSE'
91+ ], [
92+ 'Bower',
93+ '2014 Bower contributors',
94+ 'CC BY',
95+ 'https://github.com/bower/bower.github.io/blob/b7b94ad38b72e8fb5dafb20c8ce42835a49cc98f/package.json#L20'
9196 ], [
9297 'C<br>C++',
9398 'cppreference.com',
assets/javascripts/views/pages/bower.coffee+6−0
@@ -0,0 +1,6 @@
1+#= require views/pages/base
2+
3+class app.views.BowerPage extends app.views.BasePage
4+ afterRender: ->
5+ @highlightCode @findAll('pre[data-lang="js"], pre[data-lang="json"]'), 'javascript'
6+ return