Skip to content

Commit

Permalink
Cleaned up some xml lint in the category files
Browse files Browse the repository at this point in the history
  • Loading branch information
rdworth committed May 3, 2012
1 parent 4baadf0 commit fea6d15
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion categories/1.7.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Event APIs: <code>.on()</code> and <code>.off()</code>
Better Support for HTML5 in IE6/7/8
<code>jQuery.Callbacks()</code>
Toggling Animations Work Intuitively
<p>
</p>

<p>For more information, see the Release Notes/Changelog at <a href="http://blog.jquery.com/2011/11/03/jquery-1-7-released/">http://blog.jquery.com/2011/11/03/jquery-1-7-released/</a></p>
<hr /></desc>
Expand Down
2 changes: 1 addition & 1 deletion categories/data-link.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<category id="87" parent="85" name="Data Link" slug="data-link">
<desc><p>These documentation topics concern the <em>jQuery Data Link</em> plugin (jquery-datalink), which can be downloaded from: <a href="http://github.com/jquery/jquery-datalink">http://github.com/jquery/jquery-datalink</a>.</p> <p><em>Data Linking</em> here refers to linking a field of one object to another field of another object. If the objects are linked, then changing the value of the field on the first object automatically updates the value of the linked field on the other object.<p></desc>
<desc><p>These documentation topics concern the <em>jQuery Data Link</em> plugin (jquery-datalink), which can be downloaded from: <a href="http://github.com/jquery/jquery-datalink">http://github.com/jquery/jquery-datalink</a>.</p> <p><em>Data Linking</em> here refers to linking a field of one object to another field of another object. If the objects are linked, then changing the value of the field on the first object automatically updates the value of the linked field on the other object.</p></desc>
</category>
6 changes: 3 additions & 3 deletions categories/deferred-object.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

<div class="longdesc">

<p>In JavaScript it is common to invoke functions that optionally accept callbacks that are called within that function.
<p>In JavaScript it is common to invoke functions that optionally accept callbacks that are called within that function.</p>

For example, in versions prior to jQuery 1.5, asynchronous processes such as <code>jQuery.ajax()</code> accept callbacks to be invoked some time in the near-future upon success, error, and completion of the ajax request.
<p>For example, in versions prior to jQuery 1.5, asynchronous processes such as <code>jQuery.ajax()</code> accept callbacks to be invoked some time in the near-future upon success, error, and completion of the ajax request.</p>

<p><code>jQuery.Deferred()</code> introduces several enhancements to the way callbacks are managed and invoked. In particular, <code>jQuery.Deferred()</code> provides flexible ways to provide multiple callbacks, and these callbacks can be invoked regardless of whether the original callback dispatch has already occurred. jQuery Deferred is based on the <a href="http://wiki.commonjs.org/wiki/Promises/A">CommonJS Promises/A</a> design.</p>

Expand All @@ -15,7 +15,7 @@ For example, in versions prior to jQuery 1.5, asynchronous processes such as <co

<h4>jQuery.Deferred Constructor</h4>

<p>The <code>jQuery.Deferred()</code> constructor creates a new Deferred object. The <code>new</code> operator is optional.
<p>The <code>jQuery.Deferred()</code> constructor creates a new Deferred object. The <code>new</code> operator is optional.</p>

<p><code>jQuery.Deferred</code> can be passed an optional function, which is called just before the constructor returns and is passed the constructed <code>deferred</code> object as both the <code>this</code> object and as the first argument to the function. The called function can attach callbacks using <a href="http://api.jquery.com/deferred.then"><code>deferred.then()</code></a> for example.</p>

Expand Down
2 changes: 1 addition & 1 deletion categories/selectors.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<category id="6" parent="0" name="Selectors" slug="selectors">
<desc>Borrowing from CSS 1–3, and then adding its own, jQuery offers a powerful set of tools for matching a set of elements in a document.

If you wish to use any of the meta-characters ( such as <code> !"#$%&'()*+,./:;<=>?@[\]^`{|}~</code> ) as a literal part of a name, you must escape the character with two backslashes: <code>\\</code>. For example, if you have an element with <code>id="foo.bar"</code>, you can use the selector <code>$("#foo\\.bar")</code>. The W3C CSS specification contains the <a href="http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier">complete set of rules regarding valid CSS selectors</a>. Also useful is the blog entry by Mathias Bynens on <a href="http://mathiasbynens.be/notes/css-escapes">CSS character escape sequences for identifiers</a>.</desc>
If you wish to use any of the meta-characters ( such as <code> !&quot;#$%&amp;&#39;()*+,./:;&lt;=&gt;?@[\]^`{|}~</code> ) as a literal part of a name, you must escape the character with two backslashes: <code>\\</code>. For example, if you have an element with <code>id="foo.bar"</code>, you can use the selector <code>$("#foo\\.bar")</code>. The W3C CSS specification contains the <a href="http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier">complete set of rules regarding valid CSS selectors</a>. Also useful is the blog entry by Mathias Bynens on <a href="http://mathiasbynens.be/notes/css-escapes">CSS character escape sequences for identifiers</a>.</desc>
</category>
4 changes: 2 additions & 2 deletions categories/templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<desc><p>These documentation topics concern the <em>jQuery Templates</em> plugin (jquery-tmpl), which can be downloaded from: <a href="http://github.com/jquery/jquery-tmpl">http://github.com/jquery/jquery-tmpl</a>.</p>
<p><strong>Note: The jQuery team has decided not to take this plugin past beta. It is no longer being actively developed or maintained. The docs remain here for the time being (for reference) until a suitable replacement template plugin is ready.</strong></p>
<p><strong>For more on the history of this change, see <a href="http://blog.jquery.com/2011/04/16/official-plugins-a-change-in-the-roadmap/">Official Plugins: A Change in the Roadmap</a> and <a href="http://www.borismoore.com/2011/10/jquery-templates-and-jsviews-roadmap.html">jQuery Templates and JsViews: The Roadmap</a></strong></p>
<hr>
<p>A template contains markup with binding expressions. The template is applied to data objects or arrays, and rendered into the HTML DOM.<p>
<hr/>
<p>A template contains markup with binding expressions. The template is applied to data objects or arrays, and rendered into the HTML DOM.</p>
<p>The beta1 version of jQuery Templates is available on CDN at:
<ul>
<li><a href="http://ajax.aspnetcdn.com/ajax/jquery.templates/beta1/jquery.tmpl.js">http://ajax.aspnetcdn.com/ajax/jquery.templates/beta1/jquery.tmpl.js</a></li>
Expand Down

0 comments on commit fea6d15

Please sign in to comment.