History

Finish Codeception scraper

Thibaut Courouble committed 9 years ago

Commit 802a8d31 parent 72ab34313 files · +64 −66Browse files

Showing the changes to assets/javascripts (4 of 13 files). Show all

Unified · Split

4 files
  1. assets/javascripts/news.json +1 −1
  2. assets/javascripts/templates/pages/about_tmpl.coffee +5 −0
  3. assets/javascripts/views/pages/codeception.coffee +0 −10
  4. assets/javascripts/views/pages/simple.coffee +1 −0
assets/javascripts/news.json+1−1
@@ -1,7 +1,7 @@
1[1[
2 [2 [
3 "2016-12-04",3 "2016-12-04",
4 "New documentation: <a href=\"/sqlite/\">SQLite</a>"4 "New documentations: <a href=\"/sqlite/\">SQLite</a> and <a href=\"/codeception/\">Codeception</a>"
5 ], [5 ], [
6 "2016-11-20",6 "2016-11-20",
7 "New documentations: <a href=\"/yarn/\">Yarn</a>, <a href=\"/immutable/\">Immutable.js</a> and <a href=\"/async/\">Async</a>"7 "New documentations: <a href=\"/yarn/\">Yarn</a>, <a href=\"/immutable/\">Immutable.js</a> and <a href=\"/async/\">Async</a>"
assets/javascripts/templates/pages/about_tmpl.coffee+5−0
@@ -154,6 +154,11 @@ credits = [ · 153 unmodified lines
154 '2000-2016 Kitware, Inc.<br>&copy; 2000-2011 Insight Software Consortium',154 '2000-2016 Kitware, Inc.<br>&copy; 2000-2011 Insight Software Consortium',
155 'BSD',155 'BSD',
156 'https://cmake.org/licensing/'156 'https://cmake.org/licensing/'
157 ], [
158 'Codeception',
159 '2011-2016 Michael Bodnarchuk and contributors',
160 'MIT',
161 'https://raw.githubusercontent.com/Codeception/Codeception/master/LICENSE'
157 ], [162 ], [
158 'CodeIgniter',163 'CodeIgniter',
159 '2014-2016 British Columbia Institute of Technology',164 '2014-2016 British Columbia Institute of Technology',
assets/javascripts/views/pages/codeception.coffee+0−10
@@ -1,10 +0,0 @@
1#= require views/pages/base
2
3class app.views.CodeceptionPage extends app.views.BasePage
4 LANGUAGE_RGX = /language-(\w+)/
5
6 prepare: ->
7 for el in @findAll('pre > code')
8 if el.className.match(LANGUAGE_RGX)
9 @highlightCode(el, el.className.match(LANGUAGE_RGX)[1])
10 return
assets/javascripts/views/pages/simple.coffee+1−0
@@ -14,6 +14,7 @@ app.views.BowerPage = · 13 unmodified lines
14app.views.CPage =14app.views.CPage =
15app.views.CakephpPage =15app.views.CakephpPage =
16app.views.ChaiPage =16app.views.ChaiPage =
17app.views.CodeceptionPage =
17app.views.CoffeescriptPage =18app.views.CoffeescriptPage =
18app.views.CordovaPage =19app.views.CordovaPage =
19app.views.CrystalPage =20app.views.CrystalPage =