History

Update Backbone.js documentation (1.1.1)

Thibaut committed 12 years ago

Commit f6d76ee1 parent 32906bc3 files · +5 −5Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/filters/backbone/clean_html.rb +2 −2
  3. lib/docs/scrapers/backbone.rb +2 −2
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -80,7 +80,7 @@ credits = [ · 79 unmodified lines
80 'http://creativecommons.org/licenses/by/3.0/'80 'http://creativecommons.org/licenses/by/3.0/'
81 ], [81 ], [
82 'Backbone.js',82 'Backbone.js',
83 '2010-2013 Jeremy Ashkenas, DocumentCloud',83 '2010-2014 Jeremy Ashkenas, DocumentCloud',
84 'MIT',84 'MIT',
85 'https://raw.github.com/jashkenas/backbone/master/LICENSE'85 'https://raw.github.com/jashkenas/backbone/master/LICENSE'
86 ], [86 ], [
lib/docs/filters/backbone/clean_html.rb+2−2
@@ -8,11 +8,11 @@ module Docs · 7 unmodified lines
8 end8 end
9 9
10 # Remove Examples, FAQ, etc.10 # Remove Examples, FAQ, etc.
11 while doc.children.last['id'] != 'examples'11 while doc.children.last['id'] != 'faq'
12 doc.children.last.remove12 doc.children.last.remove
13 end13 end
14 14
15 css('#examples', '.run').remove15 css('#faq', '.run').remove
16 16
17 css('tt').each do |node|17 css('tt').each do |node|
18 node.name = 'code'18 node.name = 'code'
lib/docs/scrapers/backbone.rb+2−2
@@ -3,7 +3,7 @@ module Docs · 2 unmodified lines
3 self.name = 'Backbone.js'3 self.name = 'Backbone.js'
4 self.slug = 'backbone'4 self.slug = 'backbone'
5 self.type = 'underscore'5 self.type = 'underscore'
6 self.version = '1.1.0'6 self.version = '1.1.1'
7 self.base_url = 'http://backbonejs.org'7 self.base_url = 'http://backbonejs.org'
8 8
9 html_filters.push 'backbone/clean_html', 'backbone/entries', 'title'9 html_filters.push 'backbone/clean_html', 'backbone/entries', 'title'
@@ -13,7 +13,7 @@ module Docs · 3 unmodified lines
13 options[:skip_links] = true13 options[:skip_links] = true
14 14
15 options[:attribution] = <<-HTML15 options[:attribution] = <<-HTML
16 &copy; 2010&ndash;2013 Jeremy Ashkenas, DocumentCloud<br>16 &copy; 2010&ndash;2014 Jeremy Ashkenas, DocumentCloud<br>
17 Licensed under the MIT License.17 Licensed under the MIT License.
18 HTML18 HTML
19 end19 end