mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update jQuery core and UI documentations
This commit is contained in:
parent
aea338a089
commit
1febaeac40
3 changed files with 6 additions and 7 deletions
|
@ -110,7 +110,7 @@ credits = [
|
|||
'http://www.w3.org/Protocols/rfc2616/rfc2616-sec21.html#sec21'
|
||||
], [
|
||||
'jQuery',
|
||||
'2009 Packt Publishing<br>© 2013 jQuery Foundation',
|
||||
'2009 Packt Publishing<br>© 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'
|
||||
], [
|
||||
|
|
|
@ -12,7 +12,7 @@ module Docs
|
|||
options[:skip_patterns] = [/category/]
|
||||
|
||||
options[:attribution] = <<-HTML
|
||||
© 2013 The jQuery Foundation<br>
|
||||
© 2014 The jQuery Foundation<br>
|
||||
Licensed under the MIT License.
|
||||
HTML
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue