Skip to content

Commit d04e03d

Browse files
apsdehalarschmitz
authored andcommitted
api.jquerymobile.com: Backfile used ui versions
1 parent 8d8f123 commit d04e03d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

themes/api.jquerymobile.com/functions.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ function jq_mobile_api_versions() {
1111

1212
function jq_mobile_ui_api_versions() {
1313
return array(
14-
'1.5' => '1.12'
14+
'1.5' => '1.12',
15+
'1.4' => '1.10',
16+
'1.3' => '1.9'
1517
);
1618
}
1719

themes/api.jquerymobile.com/index.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@
4141
<a href="<?php echo "$rootUrl/category/all"; ?>">full listing of entries</a>, or browse by
4242
category from the sidebar.</p>
4343

44-
<p>jQuery Mobile <?php echo $thisVersion; ?>
45-
<?php if ( $thisVersion == "1.5" ) {
46-
echo "uses jQuery UI " . $ui_versions[ $thisVersion ] . " and";
47-
} ?>
44+
<p>jQuery Mobile <?php echo $thisVersion; ?> uses jQuery UI <?php echo $ui_versions[ $thisVersion ] ?> and
4845
supports jQuery <?php echo $versions[ $thisVersion ]; ?>.
4946

5047
<p>See the <a href="http://jquerymobile.com/gbs/<?php echo $thisVersion; ?>">supported platforms</a> page for a list of all

0 commit comments

Comments
 (0)