Unified · Split
| @@ -110,7 +110,7 @@ credits = [ · 109 unmodified lines | ||
| 110 | 110 | 'http://www.w3.org/Protocols/rfc2616/rfc2616-sec21.html#sec21' |
| 111 | 111 | ], [ |
| 112 | 112 | 'jQuery', |
| 113 | − '2009 Packt Publishing<br>© 2013 jQuery Foundation', | |
| 113 | + '2009 Packt Publishing<br>© 2014 jQuery Foundation', | |
| 114 | 114 | 'MIT', |
| 115 | 115 | 'https://raw.github.com/jquery/api.jquery.com/master/LICENSE-MIT.txt' |
| 116 | 116 | ], [ |
| @@ -120,7 +120,7 @@ credits = [ · 3 unmodified lines | ||
| 120 | 120 | 'https://raw.github.com/jquery/api.jquerymobile.com/master/LICENSE-MIT.txt' |
| 121 | 121 | ], [ |
| 122 | 122 | 'jQuery UI', |
| 123 | − '2013 jQuery Foundation', | |
| 123 | + '2014 jQuery Foundation', | |
| 124 | 124 | 'MIT', |
| 125 | 125 | 'https://raw.github.com/jquery/api.jqueryui.com/master/LICENSE-MIT.txt' |
| 126 | 126 | ], [ |
| @@ -12,7 +12,7 @@ module Docs · 11 unmodified lines | ||
| 12 | 12 | options[:skip_patterns] = [/category/] |
| 13 | 13 | |
| 14 | 14 | options[:attribution] = <<-HTML |
| 15 | − © 2013 The jQuery Foundation<br> | |
| 15 | + © 2014 The jQuery Foundation<br> | |
| 16 | 16 | Licensed under the MIT License. |
| 17 | 17 | HTML |
| 18 | 18 | end |
| @@ -12,9 +12,8 @@ module Docs · 11 unmodified lines | ||
| 12 | 12 | options[:skip] = %w(/selectors/odd /selectors/even /selectors/event |
| 13 | 13 | /selected /checked) |
| 14 | 14 | |
| 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' } | |
| 19 | 18 | end |
| 20 | 19 | end |