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
272272 'http://www.lua.org/license.html'
273273 ], [
274274 'Marionette.js',
275− '2015 Muted Solutions, LLC',
275+ '2016 Muted Solutions, LLC',
276276 'MIT',
277− 'http://mutedsolutions.mit-license.org/'
277+ 'https://mutedsolutions.mit-license.org/'
278278 ], [
279279 'Markdown',
280280 '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
1818 app.views.ChaiPage =
1919 app.views.GruntPage =
2020 app.views.LodashPage =
21−app.views.MarionettePage =
2221 app.views.MochaPage =
2322 app.views.JavascriptPage
2423
assets/javascripts/views/pages/simple.coffee+1−0
@@ -10,6 +10,7 @@ app.views.AngularPage = · 9 unmodified lines
1010 app.views.EmberPage =
1111 app.views.ExpressPage =
1212 app.views.GoPage =
13+app.views.MarionettePage =
1314 app.views.MeteorPage =
1415 app.views.ModernizrPage =
1516 app.views.MomentPage =
lib/docs/filters/marionette/clean_html.rb+1−0
@@ -15,6 +15,7 @@ module Docs · 14 unmodified lines
1515 css('#source + h2', '#improve', '#source', '.glyphicon', 'p > br').remove
1616
1717 css('pre > code').each do |node|
18+ node.parent['data-language'] = node['class'][/lang-(\w+)/, 1]
1819 node.before(node.children).remove
1920 end
2021
lib/docs/scrapers/marionette.rb+2−2
@@ -3,7 +3,7 @@ module Docs · 2 unmodified lines
33 self.name = 'Marionette.js'
44 self.slug = 'marionette'
55 self.type = 'marionette'
6− self.release = '2.4.3'
6+ self.release = '2.4.5'
77 self.base_url = "http://marionettejs.com/docs/v#{release}/"
88 self.root_path = 'index'
99 self.links = {
@@ -16,7 +16,7 @@ module Docs · 6 unmodified lines
1616 options[:container] = '.docs__content'
1717
1818 options[:attribution] = <<-HTML
19− &copy; 2015 Muted Solutions, LLC<br>
19+ &copy; 2016 Muted Solutions, LLC<br>
2020 Licensed under the MIT License.
2121 HTML
2222 end