Showing the changes to lib/docs (2 of 3 files). Show all
Unified · Split
| @@ -12,7 +12,7 @@ module Docs · 11 unmodified lines | |||
| 12 | options[:skip_patterns] = [/category/] | 12 | options[:skip_patterns] = [/category/] |
| 13 | 13 | ||
| 14 | options[:attribution] = <<-HTML | 14 | options[:attribution] = <<-HTML |
| 15 | © 2013 The jQuery Foundation<br> | 15 | © 2014 The jQuery Foundation<br> |
| 16 | Licensed under the MIT License. | 16 | Licensed under the MIT License. |
| 17 | HTML | 17 | HTML |
| 18 | end | 18 | end |
| @@ -12,9 +12,8 @@ module Docs · 11 unmodified lines | |||
| 12 | options[:skip] = %w(/selectors/odd /selectors/even /selectors/event | 12 | options[:skip] = %w(/selectors/odd /selectors/even /selectors/event |
| 13 | /selected /checked) | 13 | /selected /checked) |
| 14 | 14 | ||
| 15 | options[:fix_urls] = ->(url) do | 15 | options[:replace_paths] = { |
| 16 | url.sub! '.com/index/', '.com/index/index' | 16 | '/index/' => '/index/index', |
| 17 | url | 17 | '/h/deferred.reject/' => '/deferred.reject' } |
| 18 | end | ||
| 19 | end | 18 | end |
| 20 | end | 19 | end |