Permalink
Browse files

Change <created> to <added> and display in output. Fixes #33.

  • Loading branch information...
1 parent 21d2bd2 commit 24e33d18923bdcd287beaa35b910ec5453126418 @scottgonzalez scottgonzalez committed Aug 7, 2012
View
@@ -13,14 +13,14 @@
<h3>Second header</h3>
<div>Second content panel</div>
</div>
- ]]></pre>
+]]></pre>
<p>Accordions support arbitrary markup, but each content panel must always be the next sibling after its associated header. See the <a href="#option-header"><code>header</code></a> option for information on how to use custom markup structures.</p>
<p>The panels can be activated programmatically by setting the <a href="#option-active"><code>active</code></a> option..</p>
<p>This widget requires some functional CSS, otherwise it won't work. If you build a custom theme, use the widget's specific CSS file as a starting point.</p>
</longdesc>
- <created>1.0</created>
+ <added>1.0</added>
<options>
<option name="active" default="0">
<desc>
View
@@ -11,7 +11,7 @@
<p>This widget requires some functional CSS, otherwise it won't work. If you build a custom theme, use the widget's specific CSS file as a starting point.</p>
</longdesc>
- <created>1.8</created>
+ <added>1.8</added>
<options>
<option name="appendTo" type="Selector" default='"body"'>
<desc>Which element the menu should be appended to. Override this when the autocomplete is inside a <code>position: fixed</code> element. Otherwise the popup menu would still scroll with the page.</desc>
View
@@ -13,7 +13,7 @@
<p>This widget requires some functional CSS, otherwise it won't work. If you build a custom theme, use the widget's specific CSS file as a starting point.</p>
</longdesc>
- <created>1.8</created>
+ <added>1.8</added>
<options>
<widget-inherit id="widget-disabled" />
<option name="icons" default="{ primary: null, secondary: null }">
View
@@ -50,7 +50,7 @@
<p>This widget requires some functional CSS, otherwise it won't work. If you build a custom theme, use the widget's specific CSS file as a starting point.</p>
</longdesc>
- <created>1.0</created>
+ <added>1.0</added>
<options>
<option name="altField" type="Selector, jQuery, Element" default='""'>
<desc>The jQuery selector for another field that is to be updated with the selected date from the datepicker. Use the <code>[[UI/Datepicker#option-altFormat|altFormat]]</code> setting to change the format of the date within this field. Leave as blank for no alternate field.</desc>
View
@@ -11,7 +11,7 @@
<p>This widget requires some functional CSS, otherwise it won't work. If you build a custom theme, use the widget's specific CSS file as a starting point.</p>
</longdesc>
- <created>1.5</created>
+ <added>1.0</added>
<options>
<option name="autoOpen" default="true">
<desc>If set to <code>true</code>, the dialog will automatically open upon initialization. If <code>false</code>, the dialog will stay hidden until the <a href="#method-open"><code>open</code></a> method is called.</desc>
View
@@ -5,7 +5,7 @@
<longdesc>
<p>Make the selected elements draggable by mouse. If you want not just drag, but drag-and-drop, see the <a href="/droppable">jQuery UI Droppable plugin</a>, which provides a drop target for draggables.</p>
</longdesc>
- <created>1.0</created>
+ <added>1.0</added>
<options>
<option name="addClasses" default="true">
<desc>If set to <code>false</code>, will prevent the <code>ui-draggable</code> class from being added. This may be desired as a performance optimization when calling <code>.draggable()</code> on hundreds of elements.</desc>
View
@@ -5,7 +5,7 @@
<longdesc>
<p>The jQuery UI Droppable plugin makes selected elements droppable (meaning they accept being dropped on by draggables). You can specify which (individually) or which kind of draggables each will accept.</p>
</longdesc>
- <created>1.0</created>
+ <added>1.0</added>
<options>
<option name="accept" default='"*"'>
<desc>All draggables that match the selector will be accepted. If a function is specified, the function will be called for each draggable on the page (passed as the first argument to the function), to provide a custom filter. The function should return true if the draggable should be accepted.</desc>
View
@@ -31,7 +31,7 @@
<p>This widget requires some functional CSS, otherwise it won't work. If you build a custom theme, use the widget's specific CSS file as a starting point.</p>
</longdesc>
- <created>1.9</created>
+ <added>1.9</added>
<options>
<widget-inherit id="widget-disabled" />
<option name="icons" type="Object" default='{ submenu: "ui-icon-carat-1-e" }'>
View
@@ -8,6 +8,7 @@
<p>This is a standalone jQuery plugin and has no dependencies on other jQuery UI components.</p>
<p>This plugin extends jQuery's built-in <a href="//api.jquery.com/position">position</a> getter method. If you forget to include this plugin, code calling <code>.position()</code> won't fail directly, as the method still exists, but it'll just retrieve the position instead of setting it.</p>
</longdesc>
+ <added>1.8</added>
<signature>
<argument name="options" type="Options"></argument>
</signature>
View
@@ -12,7 +12,7 @@
<p>This widget requires some functional CSS, otherwise it won't work. If you build a custom theme, use the widget's specific CSS file as a starting point.</p>
</longdesc>
- <created>1.6</created>
+ <added>1.6</added>
<options>
<widget-inherit id="widget-disabled" />
<option name="value" default="0">
View
@@ -7,7 +7,7 @@
<p>All callbacks (start,stop,resize) receive two arguments: The original browser event and a prepared ui object.</p>
<p>This interaction requires some functional CSS, otherwise it won't work. If you build a custom theme, use the interaction's specific CSS file as a starting point.</p>
</longdesc>
- <created>1.0</created>
+ <added>1.0</added>
<options>
<option name="alsoResize" default='false'>
<desc>Resize these elements synchronous when resizing.</desc>
View
@@ -7,7 +7,7 @@
<p>This interaction requires some functional CSS, otherwise it won't work. If you build a custom theme, use the interaction's specific CSS file as a starting point.</p>
</longdesc>
- <created>1.0</created>
+ <added>1.0</added>
<options>
<option name="autoRefresh" default='true'>
<desc>This determines whether to refresh (recalculate) the position and size of each selectee at the beginning of each select operation. If you have many many items, you may want to set this to false and call the refresh method manually.</desc>
View
@@ -9,7 +9,7 @@
<p>This widget requires some functional CSS, otherwise it won't work. If you build a custom theme, use the widget's specific CSS file as a starting point.</p>
</longdesc>
- <created>1.5</created>
+ <added>1.5</added>
<options>
<option name="animate" default="false">
<desc>Whether to slide the handle smoothly when the user clicks on the slider track. Also accepts any valid <a href="//api.jquery.com/animate/#duration">animation duration</a>.</desc>
View
@@ -6,7 +6,7 @@
<p>The jQuery UI Sortable plugin makes selected elements sortable by dragging with the mouse.</p>
<p>All callbacks receive two arguments: The original browser event and a prepared ui object.</p>
</longdesc>
- <created>1.0</created>
+ <added>1.0</added>
<options>
<option name="appendTo" default='"parent"'>
<desc>Defines where the helper that moves with the mouse is being appended to during the drag (for example, to resolve overlap/zIndex issues).</desc>
View
@@ -9,7 +9,7 @@
<p>This widget requires some functional CSS, otherwise it won't work. If you build a custom theme, use the widget's specific CSS file as a starting point.</p>
</longdesc>
- <created>1.9</created>
+ <added>1.9</added>
<options>
<option name="culture" default="null">
<desc>
View
@@ -9,7 +9,7 @@
<p>This widget requires some functional CSS, otherwise it won't work. If you build a custom theme, use the widget's specific CSS file as a starting point.</p>
</longdesc>
- <created>1.0</created>
+ <added>1.0</added>
<options>
<option name="active" default="0">
<desc>
View
@@ -17,7 +17,7 @@
<p>This widget requires some functional CSS, otherwise it won't work. If you build a custom theme, use the widget's specific CSS file as a starting point.</p>
</longdesc>
- <created>1.9</created>
+ <added>1.9</added>
<options>
<option name="content" default="function returning the title attribute">
<desc>
View
@@ -17,6 +17,9 @@
<xsl:for-each select="//entry">
<xsl:variable name="number-general-examples" select="count(example)"/>
<xsl:variable name="entry-name" select="@name"/>
+ <xsl:if test="./added">
+ <span class="versionAdded">version added: <xsl:value-of select="added" /></span>
+ </xsl:if>
<article>
<xsl:copy-of select="desc/node()"/>
<nav>

0 comments on commit 24e33d1

Please sign in to comment.