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