mirror of https://github.com/freeCodeCamp/devdocs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
604 B
24 lines
604 B
module Docs
|
|
class JqueryUi < Jquery
|
|
self.name = 'jQuery UI'
|
|
self.slug = 'jqueryui'
|
|
self.release = '1.12.1'
|
|
self.base_url = 'https://api.jqueryui.com'
|
|
self.root_path = '/category/all'
|
|
|
|
html_filters.insert_before 'jquery/clean_html', 'jquery_ui/entries'
|
|
|
|
options[:root_title] = 'jQuery UI'
|
|
options[:skip] = %w(/theming)
|
|
options[:skip_patterns] += [/\A\/1\./]
|
|
|
|
options[:fix_urls] = ->(url) do
|
|
url.sub! 'http://api.jqueryui.com/', 'https://api.jqueryui.com/'
|
|
end
|
|
|
|
def get_latest_version(opts)
|
|
get_npm_version('jquery-ui', opts)
|
|
end
|
|
end
|
|
end
|