History

Update Mocha documentation (2.5.3)

Thibaut Courouble committed 10 years ago

Commit 33187421 parent ebf8ecf5 files · +8 −8Browse files

Unified · Split

5 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +3 −3
  2. assets/javascripts/views/pages/javascript.coffee +0 −1
  3. assets/javascripts/views/pages/simple.coffee +1 −0
  4. lib/docs/filters/mocha/clean_html.rb +1 −0
  5. lib/docs/scrapers/mocha.rb +3 −4
assets/javascripts/templates/pages/about_tmpl.coffee+3−3
@@ -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',
assets/javascripts/views/pages/javascript.coffee+0−1
@@ -16,7 +16,6 @@ class app.views.JavascriptWithMarkupCheckPage extends app.views.BasePage · 15 unmodified lines
16 return16 return
17 17
18app.views.GruntPage =18app.views.GruntPage =
19app.views.MochaPage =
20app.views.JavascriptPage19app.views.JavascriptPage
21 20
22app.views.DojoPage =21app.views.DojoPage =
assets/javascripts/views/pages/simple.coffee+1−0
@@ -21,6 +21,7 @@ app.views.LovePage = · 20 unmodified lines
21app.views.MarionettePage =21app.views.MarionettePage =
22app.views.MdnPage =22app.views.MdnPage =
23app.views.MeteorPage =23app.views.MeteorPage =
24app.views.MochaPage =
24app.views.ModernizrPage =25app.views.ModernizrPage =
25app.views.MomentPage =26app.views.MomentPage =
26app.views.MongoosePage =27app.views.MongoosePage =
lib/docs/filters/mocha/clean_html.rb+1−0
@@ -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.content8 node.content = node.content
9 node['data-language'] = 'javascript'
9 end10 end
10 11
11 doc12 doc
lib/docs/scrapers/mocha.rb+3−4
@@ -1,8 +1,7 @@
1module Docs1module Docs
2 class Mocha < UrlScraper2 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] = true15 options[:skip_links] = true
17 16
18 options[:attribution] = <<-HTML17 options[:attribution] = <<-HTML
19 &copy; 2011&ndash;2016 TJ Holowaychuk<br>18 &copy; Mocha contributors<br>
20 Licensed under the MIT License.19 Licensed under the Creative Commons Attribution 4.0 International License.
21 HTML20 HTML
22 end21 end
23end22end

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t