Skip to content

Commit 1b588fa

Browse files
jimrhoskinstoddparker
authored andcommitted
Updated grammatical errors in docs
Changed "an" to "a" where appropriate
1 parent 62bd20a commit 1b588fa

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

docs/content/content-themes.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ <h2>Themed examples</h2>
4040
<h1>H1 Heading</h1>
4141
<p>This is a paragraph that contains <strong>strong</strong>, <em>emphasized</em> and <a href="index.html">linked</a> text. Here is more text so you can see how HTML markup works in content. Here is more text so you can see how HTML markup works in content.</p>
4242
<div data-role="collapsible" data-collapsed="true" data-theme="a">
43-
<h3>I'm an themed collapsible</h3>
43+
<h3>I'm a themed collapsible</h3>
4444
<p>I have <code>data-theme</code> attribute set manually on my container to set the color to match the content block I'm in. </p>
4545
</div><!-- /collapsible -->
4646
</div><!-- /themed container -->
@@ -50,7 +50,7 @@ <h3>I'm an themed collapsible</h3>
5050
<h1>H1 Heading</h1>
5151
<p>This is a paragraph that contains <strong>strong</strong>, <em>emphasized</em> and <a href="index.html">linked</a> text. Here is more text so you can see how HTML markup works in content. Here is more text so you can see how HTML markup works in content.</p>
5252
<div data-role="collapsible" data-collapsed="true" data-theme="b">
53-
<h3>I'm an themed collapsible</h3>
53+
<h3>I'm a themed collapsible</h3>
5454
<p>I have <code>data-theme</code> attribute set manually on my container to set the color to match the content block I'm in. </p>
5555
</div><!-- /collapsible -->
5656
</div><!-- /themed container -->
@@ -60,7 +60,7 @@ <h3>I'm an themed collapsible</h3>
6060
<h1>H1 Heading</h1>
6161
<p>This is a paragraph that contains <strong>strong</strong>, <em>emphasized</em> and <a href="index.html">linked</a> text. Here is more text so you can see how HTML markup works in content. Here is more text so you can see how HTML markup works in content.</p>
6262
<div data-role="collapsible" data-collapsed="true" data-theme="c">
63-
<h3>I'm an themed collapsible</h3>
63+
<h3>I'm a themed collapsible</h3>
6464
<p>I have <code>data-theme</code> attribute set manually on my container to set the color to match the content block I'm in. </p>
6565
</div><!-- /collapsible -->
6666
</div><!-- /themed container -->
@@ -70,7 +70,7 @@ <h3>I'm an themed collapsible</h3>
7070
<h1>H1 Heading</h1>
7171
<p>This is a paragraph that contains <strong>strong</strong>, <em>emphasized</em> and <a href="index.html">linked</a> text. Here is more text so you can see how HTML markup works in content. Here is more text so you can see how HTML markup works in content.</p>
7272
<div data-role="collapsible" data-collapsed="true" data-theme="d">
73-
<h3>I'm an themed collapsible</h3>
73+
<h3>I'm a themed collapsible</h3>
7474
<p>I have <code>data-theme</code> attribute set manually on my container to set the color to match the content block I'm in. </p>
7575
</div><!-- /collapsible -->
7676
</div><!-- /themed container -->
@@ -80,7 +80,7 @@ <h3>I'm an themed collapsible</h3>
8080
<h1>H1 Heading</h1>
8181
<p>This is a paragraph that contains <strong>strong</strong>, <em>emphasized</em> and <a href="index.html">linked</a> text. Here is more text so you can see how HTML markup works in content. Here is more text so you can see how HTML markup works in content.</p>
8282
<div data-role="collapsible" data-collapsed="true" data-theme="e">
83-
<h3>I'm an themed collapsible</h3>
83+
<h3>I'm a themed collapsible</h3>
8484
<p>I have <code>data-theme</code> attribute set manually on my container to set the color to match the content block I'm in. </p>
8585
</div><!-- /collapsible -->
8686
</div><!-- /themed container -->

docs/pages/docs-link-scenarios.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h1>Linking pages</h1>
2626
<li><a href="docs/pages/index.html">[href="docs/pages/index.html"]</a></li>
2727
<li><a href="/docs/toolbars/index.html">[href="/docs/toolbars/index.html"]</a></li>
2828
<li><a href="#somelocalID">[href="#somelocalID"]</a></li>
29-
<li>Note: an full URL to the same-domain will also work</li>
29+
<li>Note: a full URL to the same-domain will also work</li>
3030
<li data-role="list-divider">Examples of links that trigger a refresh</li>
3131
<li><a href="docs/pages/index.html" data-ajax="false">[data-ajax="false"]</a></li>
3232
<li><a href="docs/pages/index.html" rel="external">[rel="external"]</a></li>

docs/pages/docs-navmodel.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ <h2>Auto-generated pages and sub-hash urls</h2>
6161
<p>Some plugins may choose to dynamically break a page's content into separate navigable pages, which can then be reached via deep links. One example of this would be the Listview plugin, which will break a nested UL (or OL) into separate pages, which are each given a data-url attribute so they can be linked to like any normal "page" in jQuery Mobile. However, in order to link to these pages, the page that generates them must first be requested from the server. To make this work, pages that are auto-generated by plugins use the following special data-url structure:
6262
<code>&lt;div data-url="page.html&amp;subpageidentifier"&gt;</code></p>
6363

64-
<p>So, for example, a page generated by the listview plugin may have an data-url attribute like this: <code>data-url="artists.html&amp;ui-page=listview-1"</code></p>
64+
<p>So, for example, a page generated by the listview plugin may have a data-url attribute like this: <code>data-url="artists.html&amp;ui-page=listview-1"</code></p>
6565

6666
<p>When a page is requested, jQuery Mobile knows to split the URL at "&amp;ui-page" and make an HTTP request to the portion of the URL before that key. In the case of the listview example mentioned above, the URL would look like this: http://example.com/artists.html&amp;ui-page=listview-1
6767
...and jQuery Mobile would request artists.html, which would then generate its sub-pages, creating the div with data-url="artists.html&amp;ui-page=listview-1", which it will then display as the active page.</p>

docs/toolbars/docs-headers.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h1>Header bars</h1>
2020
<div data-role="content">
2121

2222
<h2>Header structure</h2>
23-
<p>The <code>header</code> is an toolbar at the top of the page that usually contains the page title text and optional buttons positioned to the the left and/or right of the title for navigation or actions.</p>
23+
<p>The <code>header</code> is a toolbar at the top of the page that usually contains the page title text and optional buttons positioned to the the left and/or right of the title for navigation or actions.</p>
2424

2525
<p>The title text is normally an H1 heading element but it's possible to use any heading level (H1-H6) to allow for semantic flexibility. For example, a page containing multiple mobile 'pages' may use a H1 element on the home 'page' and a H2 element on the secondary pages. All heading levels are styled identically by default to maintain visual consistency.</p>
2626

0 commit comments

Comments
 (0)