diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index e66ad535..592f620c 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -110,7 +110,7 @@ credits = [ 'http://www.w3.org/Protocols/rfc2616/rfc2616-sec21.html#sec21' ], [ 'jQuery', - '2009 Packt Publishing
© 2013 jQuery Foundation', + '2009 Packt Publishing
© 2014 jQuery Foundation', 'MIT', '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' ], [ 'jQuery UI', - '2013 jQuery Foundation', + '2014 jQuery Foundation', 'MIT', 'https://raw.github.com/jquery/api.jqueryui.com/master/LICENSE-MIT.txt' ], [ diff --git a/lib/docs/scrapers/jquery/jquery.rb b/lib/docs/scrapers/jquery/jquery.rb index 5882d3d2..b01228cd 100644 --- a/lib/docs/scrapers/jquery/jquery.rb +++ b/lib/docs/scrapers/jquery/jquery.rb @@ -12,7 +12,7 @@ module Docs options[:skip_patterns] = [/category/] options[:attribution] = <<-HTML - © 2013 The jQuery Foundation
+ © 2014 The jQuery Foundation
Licensed under the MIT License. HTML end diff --git a/lib/docs/scrapers/jquery/jquery_core.rb b/lib/docs/scrapers/jquery/jquery_core.rb index bd838ef3..683f96db 100644 --- a/lib/docs/scrapers/jquery/jquery_core.rb +++ b/lib/docs/scrapers/jquery/jquery_core.rb @@ -12,9 +12,8 @@ module Docs options[:skip] = %w(/selectors/odd /selectors/even /selectors/event /selected /checked) - options[:fix_urls] = ->(url) do - url.sub! '.com/index/', '.com/index/index' - url - end + options[:replace_paths] = { + '/index/' => '/index/index', + '/h/deferred.reject/' => '/deferred.reject' } end end