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 @@
11 [
22 [
33 "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>"
55 ], [
66 "2016-11-20",
77 "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
154154 '2000-2016 Kitware, Inc.<br>&copy; 2000-2011 Insight Software Consortium',
155155 'BSD',
156156 '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'
157162 ], [
158163 'CodeIgniter',
159164 '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−
3−class 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
1414 app.views.CPage =
1515 app.views.CakephpPage =
1616 app.views.ChaiPage =
17+app.views.CodeceptionPage =
1718 app.views.CoffeescriptPage =
1819 app.views.CordovaPage =
1920 app.views.CrystalPage =