History

Update jQuery core and UI documentations

Thibaut committed 12 years ago

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

Showing the changes to lib/docs (2 of 3 files). Show all

Unified · Split

2 files
  1. lib/docs/scrapers/jquery/jquery.rb +1 −1
  2. lib/docs/scrapers/jquery/jquery_core.rb +3 −4
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