Unified · Split
| @@ -312,9 +312,9 @@ credits = [ · 311 unmodified lines | |||
| 312 | 'https://github.com/seattlerb/minitest/blob/master/README.rdoc#license' | 312 | 'https://github.com/seattlerb/minitest/blob/master/README.rdoc#license' |
| 313 | ], [ | 313 | ], [ |
| 314 | 'Mocha', | 314 | 'Mocha', |
| 315 | '2011-2016 TJ Holowaychuk', | 315 | 'Mocha contributors', |
| 316 | 'MIT', | 316 | 'CC BY', |
| 317 | 'https://raw.githubusercontent.com/mochajs/mocha/master/LICENSE' | 317 | 'https://creativecommons.org/licenses/by/4.0/' |
| 318 | ], [ | 318 | ], [ |
| 319 | 'Modernizr', | 319 | 'Modernizr', |
| 320 | '2009-2016 The Modernizr team', | 320 | '2009-2016 The Modernizr team', |
| @@ -16,7 +16,6 @@ class app.views.JavascriptWithMarkupCheckPage extends app.views.BasePage · 15 unmodified lines | |||
| 16 | return | 16 | return |
| 17 | 17 | ||
| 18 | app.views.GruntPage = | 18 | app.views.GruntPage = |
| 19 | app.views.MochaPage = | ||
| 20 | app.views.JavascriptPage | 19 | app.views.JavascriptPage |
| 21 | 20 | ||
| 22 | app.views.DojoPage = | 21 | app.views.DojoPage = |
| @@ -21,6 +21,7 @@ app.views.LovePage = · 20 unmodified lines | |||
| 21 | app.views.MarionettePage = | 21 | app.views.MarionettePage = |
| 22 | app.views.MdnPage = | 22 | app.views.MdnPage = |
| 23 | app.views.MeteorPage = | 23 | app.views.MeteorPage = |
| 24 | app.views.MochaPage = | ||
| 24 | app.views.ModernizrPage = | 25 | app.views.ModernizrPage = |
| 25 | app.views.MomentPage = | 26 | app.views.MomentPage = |
| 26 | app.views.MongoosePage = | 27 | app.views.MongoosePage = |
| @@ -6,6 +6,7 @@ module Docs · 5 unmodified lines | |||
| 6 | 6 | ||
| 7 | css('pre').each do |node| | 7 | css('pre').each do |node| |
| 8 | node.content = node.content | 8 | node.content = node.content |
| 9 | node['data-language'] = 'javascript' | ||
| 9 | end | 10 | end |
| 10 | 11 | ||
| 11 | doc | 12 | doc |
| @@ -1,8 +1,7 @@ | |||
| 1 | module Docs | 1 | module Docs |
| 2 | class Mocha < UrlScraper | 2 | class Mocha < UrlScraper |
| 3 | self.name = 'mocha' | ||
| 4 | self.type = 'mocha' | 3 | self.type = 'mocha' |
| 5 | self.release = '2.4.5' | 4 | self.release = '2.5.3' |
| 6 | self.base_url = 'https://mochajs.org/' | 5 | self.base_url = 'https://mochajs.org/' |
| 7 | self.links = { | 6 | self.links = { |
| 8 | home: 'https://mochajs.org/', | 7 | home: 'https://mochajs.org/', |
| @@ -16,8 +15,8 @@ module Docs · 7 unmodified lines | |||
| 16 | options[:skip_links] = true | 15 | options[:skip_links] = true |
| 17 | 16 | ||
| 18 | options[:attribution] = <<-HTML | 17 | options[:attribution] = <<-HTML |
| 19 | © 2011–2016 TJ Holowaychuk<br> | 18 | © Mocha contributors<br> |
| 20 | Licensed under the MIT License. | 19 | Licensed under the Creative Commons Attribution 4.0 International License. |
| 21 | HTML | 20 | HTML |
| 22 | end | 21 | end |
| 23 | end | 22 | end |