History

Update Marionette.js documentation (2.4.5)

Thibaut Courouble committed 10 years ago

Commit 90ebef11 parent d9ceb675 files · +6 −5Browse files

Unified · Split

5 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +2 −2
  2. assets/javascripts/views/pages/javascript.coffee +0 −1
  3. assets/javascripts/views/pages/simple.coffee +1 −0
  4. lib/docs/filters/marionette/clean_html.rb +1 −0
  5. lib/docs/scrapers/marionette.rb +2 −2
assets/javascripts/templates/pages/about_tmpl.coffee+2−2
@@ -272,9 +272,9 @@ credits = [ · 271 unmodified lines
272 'http://www.lua.org/license.html'272 'http://www.lua.org/license.html'
273 ], [273 ], [
274 'Marionette.js',274 'Marionette.js',
275 '2015 Muted Solutions, LLC',275 '2016 Muted Solutions, LLC',
276 'MIT',276 'MIT',
277 'http://mutedsolutions.mit-license.org/'277 'https://mutedsolutions.mit-license.org/'
278 ], [278 ], [
279 'Markdown',279 'Markdown',
280 '2004 John Gruber',280 '2004 John Gruber',
assets/javascripts/views/pages/javascript.coffee+0−1
@@ -18,7 +18,6 @@ class app.views.JavascriptWithMarkupCheckPage extends app.views.BasePage · 17 unmodified lines
18app.views.ChaiPage =18app.views.ChaiPage =
19app.views.GruntPage =19app.views.GruntPage =
20app.views.LodashPage =20app.views.LodashPage =
21app.views.MarionettePage =
22app.views.MochaPage =21app.views.MochaPage =
23app.views.JavascriptPage22app.views.JavascriptPage
24 23
assets/javascripts/views/pages/simple.coffee+1−0
@@ -10,6 +10,7 @@ app.views.AngularPage = · 9 unmodified lines
10app.views.EmberPage =10app.views.EmberPage =
11app.views.ExpressPage =11app.views.ExpressPage =
12app.views.GoPage =12app.views.GoPage =
13app.views.MarionettePage =
13app.views.MeteorPage =14app.views.MeteorPage =
14app.views.ModernizrPage =15app.views.ModernizrPage =
15app.views.MomentPage =16app.views.MomentPage =
lib/docs/filters/marionette/clean_html.rb+1−0
@@ -15,6 +15,7 @@ module Docs · 14 unmodified lines
15 css('#source + h2', '#improve', '#source', '.glyphicon', 'p > br').remove15 css('#source + h2', '#improve', '#source', '.glyphicon', 'p > br').remove
16 16
17 css('pre > code').each do |node|17 css('pre > code').each do |node|
18 node.parent['data-language'] = node['class'][/lang-(\w+)/, 1]
18 node.before(node.children).remove19 node.before(node.children).remove
19 end20 end
20 21
lib/docs/scrapers/marionette.rb+2−2
@@ -3,7 +3,7 @@ module Docs · 2 unmodified lines
3 self.name = 'Marionette.js'3 self.name = 'Marionette.js'
4 self.slug = 'marionette'4 self.slug = 'marionette'
5 self.type = 'marionette'5 self.type = 'marionette'
6 self.release = '2.4.3'6 self.release = '2.4.5'
7 self.base_url = "http://marionettejs.com/docs/v#{release}/"7 self.base_url = "http://marionettejs.com/docs/v#{release}/"
8 self.root_path = 'index'8 self.root_path = 'index'
9 self.links = {9 self.links = {
@@ -16,7 +16,7 @@ module Docs · 6 unmodified lines
16 options[:container] = '.docs__content'16 options[:container] = '.docs__content'
17 17
18 options[:attribution] = <<-HTML18 options[:attribution] = <<-HTML
19 &copy; 2015 Muted Solutions, LLC<br>19 &copy; 2016 Muted Solutions, LLC<br>
20 Licensed under the MIT License.20 Licensed under the MIT License.
21 HTML21 HTML
22 end22 end