Skip to content

Commit bf25c38

Browse files
committed
Link to versions for @added, @deprecated, @removed.
1 parent 6bf3592 commit bf25c38

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

entries2html.xsl

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -477,9 +477,24 @@
477477
<div>Type: <xsl:call-template name="render-types"/></div>
478478
<div>
479479
<xsl:apply-templates select="desc"/>
480-
<xsl:if test="@added"> (added <xsl:value-of select="@added"/>)</xsl:if>
481-
<xsl:if test="@deprecated"> (deprecated <xsl:value-of select="@deprecated"/>)</xsl:if>
482-
<xsl:if test="@removed"> (removed <xsl:value-of select="@removed"/>)</xsl:if>
480+
<xsl:if test="@added">
481+
<xsl:text> </xsl:text>
482+
<strong>(added <a href="/category/version/{@added}/">
483+
<xsl:value-of select="@added"/>
484+
</a>)</strong>
485+
</xsl:if>
486+
<xsl:if test="@deprecated">
487+
<xsl:text> </xsl:text>
488+
<strong>(deprecated <a href="/category/version/{@deprecated}/">
489+
<xsl:value-of select="@deprecated"/>
490+
</a>)</strong>
491+
</xsl:if>
492+
<xsl:if test="@removed">
493+
<xsl:text> </xsl:text>
494+
<strong>(removed <a href="/category/version/{@removed}/">
495+
<xsl:value-of select="@removed"/>
496+
</a>)</strong>
497+
</xsl:if>
483498
</div>
484499
<xsl:if test="property">
485500
<ul>

includes/options-argument.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<property name="queue" type="Boolean" default="true">
3838
<desc>A Boolean indicating whether to place the animation in the effects queue. If false, the animation will begin immediately. <strong>As of jQuery 1.7</strong>, the queue option can also accept a string, in which case the animation is added to the queue represented by that string.</desc>
3939
</property>
40-
<property name="specialEasing" type="PlainObject">
41-
<desc>A map of one or more of the CSS properties defined by the properties argument and their corresponding easing functions (added 1.4).</desc>
40+
<property name="specialEasing" type="PlainObject" added="1.4">
41+
<desc>A map of one or more of the CSS properties defined by the properties argument and their corresponding easing functions.</desc>
4242
</property>
4343
</argument>

0 commit comments

Comments
 (0)