File tree Expand file tree Collapse file tree 3 files changed +25
-3
lines changed
themes/api.jquerymobile.com Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -317,6 +317,17 @@ function jquery_sites() {
317317 'active_plugins ' => array (),
318318 ),
319319 ),
320+ 'api.jquerymobile.com/1.4 ' => array (
321+ 'blog_id ' => 28 ,
322+ 'cookie_domain ' => '.jquerymobile.com ' ,
323+ 'body_class ' => 'jquery-mobile ' ,
324+ 'logo_link ' => 'http://jquerymobile.com/ ' ,
325+ 'options ' => array (
326+ 'blogname ' => 'jQuery Mobile 1.4 Documentation ' ,
327+ 'stylesheet ' => 'api.jquerymobile.com ' ,
328+ 'active_plugins ' => array (),
329+ ),
330+ ),
320331 );
321332
322333 uasort ( $ sites , function ( $ a , $ b ) {
Original file line number Diff line number Diff line change 33function jq_mobile_api_versions () {
44 // Must be listed with newest first
55 return array (
6+ '1.5 ' => '2.2 and newer ' ,
67 '1.4 ' => '1.8 and newer ' ,
78 '1.3 ' => '1.7 and newer ' ,
89 );
910}
1011
12+ function jq_mobile_ui_api_versions () {
13+ return array (
14+ '1.5 ' => '1.12 '
15+ );
16+ }
17+
1118function jq_mobile_api_version_latest () {
1219 $ versions = jq_mobile_api_versions ();
1320 return key ( $ versions );
Original file line number Diff line number Diff line change 55 $ versions = jq_mobile_api_versions ();
66 $ latestVersion = jq_mobile_api_version_latest ();
77 $ thisVersion = jq_mobile_api_version_current ();
8+ $ ui_versions = jq_mobile_ui_api_versions ();
89 $ rootUrl = $ thisVersion === $ latestVersion ? '' : "/ $ thisVersion " ;
910?>
1011
1819 <p>jQuery Mobile is the easiest way to build sites and apps that are accessible on all
1920 popular smartphone, tablet and desktop devices.</p>
2021
21- <p>If you are new to jQuery Mobile, the introduction to the framework in the
22+ <p>If you are new to jQuery Mobile, the introduction to the framework in the
2223 <a href="http://demos.jquerymobile.com/">Demos</a>
2324 would be a good place to start.</p>
2425
4142 category from the sidebar.</p>
4243
4344 <p>jQuery Mobile <?php echo $ thisVersion ; ?>
44- supports jQuery <?php echo $ versions [ $ thisVersion ]; ?> .</p>
45+ <?php if ( $ thisVersion == "1.5 " ) {
46+ echo "uses jQuery UI " . $ ui_versions [ $ thisVersion ] . " and " ;
47+ } ?>
48+ supports jQuery <?php echo $ versions [ $ thisVersion ]; ?> .
4549
4650 <p>See the <a href="http://jquerymobile.com/gbs/<?php echo $ thisVersion ; ?> ">supported platforms</a> page for a list of all
47- operating systems and browsers that are supported by this version of jQuery Mobile.</p>
51+ operating systems and browsers that are supported by this version of jQuery Mobile.</p>
4852
4953 <hr>
5054
You can’t perform that action at this time.
0 commit comments