|
|
@ -2,19 +2,15 @@ module Docs
|
|
|
|
class JqueryMobile < Jquery
|
|
|
|
class JqueryMobile < Jquery
|
|
|
|
self.name = 'jQuery Mobile'
|
|
|
|
self.name = 'jQuery Mobile'
|
|
|
|
self.slug = 'jquerymobile'
|
|
|
|
self.slug = 'jquerymobile'
|
|
|
|
self.version = '1.3.2'
|
|
|
|
self.version = '1.4.0'
|
|
|
|
self.base_url = 'http://local.api.jquerymobile.com'
|
|
|
|
self.base_url = 'http://local.api.jquerymobile.com'
|
|
|
|
self.root_path = '/category/all'
|
|
|
|
self.root_path = '/category/all'
|
|
|
|
|
|
|
|
|
|
|
|
html_filters.insert_before 'jquery/clean_html', 'jquery_mobile/entries'
|
|
|
|
html_filters.insert_before 'jquery/clean_html', 'jquery_mobile/entries'
|
|
|
|
|
|
|
|
|
|
|
|
options[:root_title] = 'jQuery Mobile'
|
|
|
|
options[:root_title] = 'jQuery Mobile'
|
|
|
|
|
|
|
|
options[:skip] = %w(/tabs /theme)
|
|
|
|
options[:skip_patterns].concat [/\A\/icons/]
|
|
|
|
options[:skip_patterns].concat [/\A\/icons/]
|
|
|
|
options[:replace_paths] = {
|
|
|
|
options[:replace_paths] = { '/select/' => '/selectmenu' }
|
|
|
|
'/select/' => '/selectmenu',
|
|
|
|
|
|
|
|
'/forms/selects' => '/selectmenu',
|
|
|
|
|
|
|
|
'/forms/checkboxes' => '/checkboxradio',
|
|
|
|
|
|
|
|
'/forms/radiobuttons' => '/checkboxradio',
|
|
|
|
|
|
|
|
'/forms/slider/' => '/slider' }
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|