History

Finish Drupal scraper

Thibaut committed 11 years ago

Commit 79822f81 parent dac9b9b14 files · +56 −52Browse files

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

Unified · Split

3 files
  1. assets/javascripts/news.json +3 −0
  2. assets/javascripts/templates/pages/about_tmpl.coffee +5 −5
  3. assets/javascripts/views/pages/drupal.coffee +6 −0
assets/javascripts/news.json+3−0
@@ -1,5 +1,8 @@
11 [
22 [
3+ "2015-07-05",
4+ "New documentation: <a href=\"/drupal/\">Drupal</a>"
5+ ], [
36 "2015-05-24",
47 "New <a href=\"/rust/\">Rust</a> documentation"
58 ], [
assets/javascripts/templates/pages/about_tmpl.coffee+5−5
@@ -135,6 +135,11 @@ credits = [ · 134 unmodified lines
135135 'Django Software Foundation and individual contributors',
136136 'BSD',
137137 'https://raw.githubusercontent.com/django/django/master/LICENSE'
138+ ], [
139+ 'Drupal',
140+ '2001-2015 by the original authors<br>Drupal is a registered trademark of Dries Buytaert.',
141+ 'GPLv2',
142+ 'https://api.drupal.org/api/drupal/LICENSE.txt'
138143 ], [
139144 'Ember.js',
140145 '2015 Yehuda Katz, Tom Dale and Ember.js contributors',
@@ -220,11 +225,6 @@ credits = [ · 79 unmodified lines
220225 '2004 John Gruber',
221226 'BSD',
222227 'http://daringfireball.net/projects/markdown/license'
223− ], [
224− 'MaxCDN',
225− '2015 MaxCDN',
226− 'MIT',
227− 'https://raw.githubusercontent.com/MaxCDN/api-docs/master/LICENSE'
228228 ], [
229229 'Meteor',
230230 '2011-2015 Meteor Development Group',
assets/javascripts/views/pages/drupal.coffee+6−0
@@ -0,0 +1,6 @@
1+#= require views/pages/base
2+
3+class app.views.DrupalPage extends app.views.BasePage
4+ afterRender: ->
5+ @highlightCode @findAll('pre.php'), 'php'
6+ return