From 2c98db3725aae5574ef74c359a47bc60346c8df7 Mon Sep 17 00:00:00 2001
From: Markus Amalthea Magnuson
Date: Wed, 10 Apr 2013 15:37:49 +0200
Subject: [PATCH 1/3] Style fixes to the jQuery Mobile section.
Code changes:
* Spaces to tabs.
* Lower-case doctype tag.
* Always use self-closing HTML elements.
* Fix incorrect "/header" comment.
---
page/jquery-mobile/getting-started.md | 65 +++++++++++++--------------
page/jquery-mobile/theme-roller.md | 18 ++++----
2 files changed, 40 insertions(+), 43 deletions(-)
diff --git a/page/jquery-mobile/getting-started.md b/page/jquery-mobile/getting-started.md
index 1f86c2ee..d9414ad8 100644
--- a/page/jquery-mobile/getting-started.md
+++ b/page/jquery-mobile/getting-started.md
@@ -14,33 +14,32 @@ In the `head` of this template, a meta `viewport` tag sets the screen width to t
In the `body`, a div with a `data-role` of `page` is the wrapper used to delineate a page. A header bar (`data-role="header"`), a content region (`data-role="content"`) and a footer bar (`data-role="footer"`) are added inside to create a basic page (all three are optional). These `data-` attributes are HTML5 attributes used throughout jQuery Mobile to transform basic markup into an enhanced and styled widget.
```
-
+
-
- My Page
-
-
-
-
-
-
-
-
-
-
My Title
-
-
-
-
Hello world
-
-
-
-
My Footer
-
-
-
-
-
+
+ My Page
+
+
+
+
+
+
+
+
+
+
My Title
+
+
+
+
Hello world
+
+
+
+
My Footer
+
+
+
+
```
@@ -55,11 +54,11 @@ jQuery Mobile includes a diverse set of common listviews that are coded as lists
```
```
@@ -69,8 +68,8 @@ The framework contains a full set of form elements that automatically are enhanc
```
```
diff --git a/page/jquery-mobile/theme-roller.md b/page/jquery-mobile/theme-roller.md
index eeeab4f0..a857218c 100644
--- a/page/jquery-mobile/theme-roller.md
+++ b/page/jquery-mobile/theme-roller.md
@@ -57,18 +57,16 @@ The theme gets downloaded on your local machine as a zip file. This contains an
To start using your theme, you can either start from the provided `index.html` or start from scratch. As explained in the theme download popup window, all you need is to add your theme to the head of your page before the jquery.mobile.structure file, like this:
```
-
+
-
- jQuery Mobile page
-
-
-
-
-
-
-
+ jQuery Mobile page
+
+
+
+
+
+
```
From d5992f0344d913fdd59383e273d2def1824b9744 Mon Sep 17 00:00:00 2001
From: Markus Amalthea Magnuson
Date: Wed, 10 Apr 2013 15:41:36 +0200
Subject: [PATCH 2/3] Style fixes to the jQuery Mobile section.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Style fixes:
* Oxford commas.
* Title case headers.
* `` instead of `tagname` for inline HTML code.
* A few word reshuffles for sentence clarity.
* Double instead of single quotes in body text.
* …various bits and pieces.
---
page/jquery-mobile.md | 3 +-
page/jquery-mobile/getting-started.md | 27 ++++++++---------
page/jquery-mobile/theme-roller.md | 43 +++++++++++++--------------
3 files changed, 35 insertions(+), 38 deletions(-)
diff --git a/page/jquery-mobile.md b/page/jquery-mobile.md
index 8c2877bd..f30e102e 100644
--- a/page/jquery-mobile.md
+++ b/page/jquery-mobile.md
@@ -6,5 +6,4 @@ customFields:
value: "th-large"
---
-jQuery Mobile is the easiest way to build sites and apps that are accessible on all popular smartphone, tablet and desktop devices. This frameworks provides a set of touch-friendly UI widgets and an AJAX-powered navigation system to support animated page transitions.
-
+jQuery Mobile is the easiest way to build sites and apps that are accessible on all popular smartphone, tablet, and desktop devices. This framework provides a set of touch-friendly UI widgets and an AJAX-powered navigation system to support animated page transitions.
diff --git a/page/jquery-mobile/getting-started.md b/page/jquery-mobile/getting-started.md
index d9414ad8..cc215440 100644
--- a/page/jquery-mobile/getting-started.md
+++ b/page/jquery-mobile/getting-started.md
@@ -5,13 +5,13 @@ level: Beginner
jQuery Mobile provides a set of touch-friendly UI widgets and an AJAX-powered navigation system to support animated page transitions. This guide will show you how you can build your first jQuery Mobile application.
-## Create a basic page template
+## Create a Basic Page Template
-To get started, you can simply paste the template below in your favorite text editor, save and open the document in a browser.
+To get started, you can simply paste the template below in your favorite text editor, save, and open the document in a browser.
-In the `head` of this template, a meta `viewport` tag sets the screen width to the pixel width of the device. References to jQuery, jQuery Mobile and the mobile theme stylesheet from the CDN add all the styles and scripts. jQuery Mobile 1.2 (1.2.0) works with versions of jQuery core from 1.7.0 to 1.8.2.
+In the `` of this template, a meta `viewport` tag sets the screen width to the pixel width of the device. References to jQuery, jQuery Mobile, and the mobile theme stylesheet from the CDN add all the styles and scripts. jQuery Mobile 1.2 (1.2.0) works with versions of jQuery core from 1.7.0 to 1.8.2.
-In the `body`, a div with a `data-role` of `page` is the wrapper used to delineate a page. A header bar (`data-role="header"`), a content region (`data-role="content"`) and a footer bar (`data-role="footer"`) are added inside to create a basic page (all three are optional). These `data-` attributes are HTML5 attributes used throughout jQuery Mobile to transform basic markup into an enhanced and styled widget.
+In the ``, a div with a `data-role` of `page` is the wrapper used to delineate a page. A header bar (`data-role="header"`), a content region (`data-role="content"`) and a footer bar (`data-role="footer"`) are added inside to create a basic page (all three are optional). These `data-` attributes are HTML5 attributes used throughout jQuery Mobile to transform basic markup into an enhanced and styled widget.
```
@@ -43,12 +43,11 @@ In the `body`, a div with a `data-role` of `page` is the wrapper used to delinea
```
+### Add Content
-### Add content
+The next step is to add content inside the content container. Any standard HTML elements – headings, lists, paragraphs, etc. can be added. You can write your own custom styles to create custom layouts by adding an additional stylesheet to the `` after the jQuery Mobile stylesheet.
-The next step is to add content inside the content container. Any standard HTML elements - headings, lists, paragraphs, etc can be added. You can write your own custom styles to create custom layouts by adding an additional stylesheet to the `head` after the jQuery Mobile stylesheet.
-
-### Make a listview
+### Make a Listview
jQuery Mobile includes a diverse set of common listviews that are coded as lists with a `data-role="listview"` added. Here is a simple linked list that has a role of `listview`. The `data-inset="true"` attribute makes the listview look like an inset module, while `data-filter="true"` adds a dynamic search filter.
@@ -62,9 +61,9 @@ jQuery Mobile includes a diverse set of common listviews that are coded as lists
```
-### Add a slider
+### Add a Slider
-The framework contains a full set of form elements that automatically are enhanced into touch-friendly styled widgets. Here's a slider made with the new HTML5 input type of range, no `data-role` needed. All form elements must always be properly associated with a `label` and the group of form elements be wrapped in a `form` tag.
+The framework contains a full set of form elements that are automatically enhanced into touch-friendly styled widgets. Here's a slider made with the new HTML5 input type of range, no `data-role` needed. All form elements must always be properly associated with a `