[Kst] extragear/graphics/kst/kst/extensions/js

George Staikos staikos at kde.org
Sat May 28 13:54:17 CEST 2005


SVN commit 419031 by staikos:

date is also special


 M  +3 -3      jsdocs-class.xsl  


--- trunk/extragear/graphics/kst/kst/extensions/js/jsdocs-class.xsl #419030:419031
@@ -126,7 +126,7 @@
     <xsl:choose>
       <xsl:when test="@type and not(@type = '')">
         <xsl:choose>
-          <xsl:when test="@type = 'number' or @type = 'string' or @type = 'boolean'">
+          <xsl:when test="@type = 'number' or @type = 'string' or @type = 'boolean' or @type = 'date'">
             <xsl:value-of select="@type"/>
           </xsl:when>
           <xsl:otherwise>
@@ -150,7 +150,7 @@
         <xsl:if test="$arg &gt; 1">, </xsl:if>
         <xsl:if test="$typed = 1">
           <xsl:choose>
-            <xsl:when test="@type = 'number' or @type = 'string' or @type = 'boolean'">
+            <xsl:when test="@type = 'number' or @type = 'string' or @type = 'boolean' or @type = 'date'">
               <xsl:value-of select="@type"/>
             </xsl:when>
             <xsl:otherwise>
@@ -174,7 +174,7 @@
   <xsl:template name="displayArgumentsFull">
     <xsl:for-each select="argument">
       <xsl:choose>
-        <xsl:when test="@type = 'number' or @type = 'string' or @type = 'boolean'">
+        <xsl:when test="@type = 'number' or @type = 'string' or @type = 'boolean' or @type = 'date'">
           <xsl:value-of select="@type"/>
         </xsl:when>
         <xsl:otherwise>


More information about the Kst mailing list