Update jQuery core and UI documentations

pull/33/head
Thibaut 11 years ago
parent aea338a089
commit 1febaeac40

@ -110,7 +110,7 @@ credits = [
'http://www.w3.org/Protocols/rfc2616/rfc2616-sec21.html#sec21' 'http://www.w3.org/Protocols/rfc2616/rfc2616-sec21.html#sec21'
], [ ], [
'jQuery', 'jQuery',
'2009 Packt Publishing<br>&copy; 2013 jQuery Foundation', '2009 Packt Publishing<br>&copy; 2014 jQuery Foundation',
'MIT', 'MIT',
'https://raw.github.com/jquery/api.jquery.com/master/LICENSE-MIT.txt' 'https://raw.github.com/jquery/api.jquery.com/master/LICENSE-MIT.txt'
], [ ], [
@ -120,7 +120,7 @@ credits = [
'https://raw.github.com/jquery/api.jquerymobile.com/master/LICENSE-MIT.txt' 'https://raw.github.com/jquery/api.jquerymobile.com/master/LICENSE-MIT.txt'
], [ ], [
'jQuery UI', 'jQuery UI',
'2013 jQuery Foundation', '2014 jQuery Foundation',
'MIT', 'MIT',
'https://raw.github.com/jquery/api.jqueryui.com/master/LICENSE-MIT.txt' 'https://raw.github.com/jquery/api.jqueryui.com/master/LICENSE-MIT.txt'
], [ ], [

@ -12,7 +12,7 @@ module Docs
options[:skip_patterns] = [/category/] options[:skip_patterns] = [/category/]
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 2013 The jQuery Foundation<br> &copy; 2014 The jQuery Foundation<br>
Licensed under the MIT License. Licensed under the MIT License.
HTML HTML
end end

@ -12,9 +12,8 @@ module Docs
options[:skip] = %w(/selectors/odd /selectors/even /selectors/event options[:skip] = %w(/selectors/odd /selectors/even /selectors/event
/selected /checked) /selected /checked)
options[:fix_urls] = ->(url) do options[:replace_paths] = {
url.sub! '.com/index/', '.com/index/index' '/index/' => '/index/index',
url '/h/deferred.reject/' => '/deferred.reject' }
end
end end
end end

Loading…
Cancel
Save