History

Update jQuery core and UI documentations

Thibaut committed 12 years ago

Commit 1febaea1 parent aea338a3 files · +6 −7Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +2 −2
  2. lib/docs/scrapers/jquery/jquery.rb +1 −1
  3. lib/docs/scrapers/jquery/jquery_core.rb +3 −4
assets/javascripts/templates/pages/about_tmpl.coffee+2−2
@@ -110,7 +110,7 @@ credits = [ · 109 unmodified lines
110110 'http://www.w3.org/Protocols/rfc2616/rfc2616-sec21.html#sec21'
111111 ], [
112112 'jQuery',
113− '2009 Packt Publishing<br>&copy; 2013 jQuery Foundation',
113+ '2009 Packt Publishing<br>&copy; 2014 jQuery Foundation',
114114 'MIT',
115115 'https://raw.github.com/jquery/api.jquery.com/master/LICENSE-MIT.txt'
116116 ], [
@@ -120,7 +120,7 @@ credits = [ · 3 unmodified lines
120120 'https://raw.github.com/jquery/api.jquerymobile.com/master/LICENSE-MIT.txt'
121121 ], [
122122 'jQuery UI',
123− '2013 jQuery Foundation',
123+ '2014 jQuery Foundation',
124124 'MIT',
125125 'https://raw.github.com/jquery/api.jqueryui.com/master/LICENSE-MIT.txt'
126126 ], [
lib/docs/scrapers/jquery/jquery.rb+1−1
@@ -12,7 +12,7 @@ module Docs · 11 unmodified lines
1212 options[:skip_patterns] = [/category/]
1313
1414 options[:attribution] = <<-HTML
15− &copy; 2013 The jQuery Foundation<br>
15+ &copy; 2014 The jQuery Foundation<br>
1616 Licensed under the MIT License.
1717 HTML
1818 end
lib/docs/scrapers/jquery/jquery_core.rb+3−4
@@ -12,9 +12,8 @@ module Docs · 11 unmodified lines
1212 options[:skip] = %w(/selectors/odd /selectors/even /selectors/event
1313 /selected /checked)
1414
15− options[:fix_urls] = ->(url) do
16− url.sub! '.com/index/', '.com/index/index'
17− url
18− end
15+ options[:replace_paths] = {
16+ '/index/' => '/index/index',
17+ '/h/deferred.reject/' => '/deferred.reject' }
1918 end
2019 end