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
12 options[:skip_patterns] = [/category/]12 options[:skip_patterns] = [/category/]
13 13
14 options[:attribution] = <<-HTML14 options[:attribution] = <<-HTML
15 &copy; 2013 The jQuery Foundation<br>15 &copy; 2014 The jQuery Foundation<br>
16 Licensed under the MIT License.16 Licensed under the MIT License.
17 HTML17 HTML
18 end18 end
lib/docs/scrapers/jquery/jquery_core.rb+3−4
@@ -12,9 +12,8 @@ module Docs · 11 unmodified lines
12 options[:skip] = %w(/selectors/odd /selectors/even /selectors/event12 options[:skip] = %w(/selectors/odd /selectors/even /selectors/event
13 /selected /checked)13 /selected /checked)
14 14
15 options[:fix_urls] = ->(url) do15 options[:replace_paths] = {
16 url.sub! '.com/index/', '.com/index/index'16 '/index/' => '/index/index',
17 url17 '/h/deferred.reject/' => '/deferred.reject' }
18 end
19 end18 end
20end19end