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() {
317
317
'active_plugins ' => array (),
318
318
),
319
319
),
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
+ ),
320
331
);
321
332
322
333
uasort ( $ sites , function ( $ a , $ b ) {
Original file line number Diff line number Diff line change 3
3
function jq_mobile_api_versions () {
4
4
// Must be listed with newest first
5
5
return array (
6
+ '1.5 ' => '2.2 and newer ' ,
6
7
'1.4 ' => '1.8 and newer ' ,
7
8
'1.3 ' => '1.7 and newer ' ,
8
9
);
9
10
}
10
11
12
+ function jq_mobile_ui_api_versions () {
13
+ return array (
14
+ '1.5 ' => '1.12 '
15
+ );
16
+ }
17
+
11
18
function jq_mobile_api_version_latest () {
12
19
$ versions = jq_mobile_api_versions ();
13
20
return key ( $ versions );
Original file line number Diff line number Diff line change 5
5
$ versions = jq_mobile_api_versions ();
6
6
$ latestVersion = jq_mobile_api_version_latest ();
7
7
$ thisVersion = jq_mobile_api_version_current ();
8
+ $ ui_versions = jq_mobile_ui_api_versions ();
8
9
$ rootUrl = $ thisVersion === $ latestVersion ? '' : "/ $ thisVersion " ;
9
10
?>
10
11
18
19
<p>jQuery Mobile is the easiest way to build sites and apps that are accessible on all
19
20
popular smartphone, tablet and desktop devices.</p>
20
21
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
22
23
<a href="http://demos.jquerymobile.com/">Demos</a>
23
24
would be a good place to start.</p>
24
25
41
42
category from the sidebar.</p>
42
43
43
44
<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 ]; ?> .
45
49
46
50
<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>
48
52
49
53
<hr>
50
54
You can’t perform that action at this time.
0 commit comments