[Qooxdoo-commit] qooxdoo/tools compileng_compress.xsl,1.1.2.5,1.1.2.6
Brought to you by:
ecker,
martinwittemann
|
From: Sebastian W. <wp...@us...> - 2006-01-16 21:16:55
|
Update of /cvsroot/qooxdoo/qooxdoo/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9683/tools Modified Files: Tag: renderer compileng_compress.xsl Log Message: Improved if handling again Index: compileng_compress.xsl =================================================================== RCS file: /cvsroot/qooxdoo/qooxdoo/tools/Attic/compileng_compress.xsl,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -C2 -d -r1.1.2.5 -r1.1.2.6 *** compileng_compress.xsl 16 Jan 2006 21:06:05 -0000 1.1.2.5 --- compileng_compress.xsl 16 Jan 2006 21:16:45 -0000 1.1.2.6 *************** *** 17,21 **** <xsl:apply-templates/> ! <xsl:if test="parent::casecontent or count(following-sibling::*) > 0"> <xsl:value-of select="$blockdivider"/> </xsl:if> --- 17,21 ---- <xsl:apply-templates/> ! <xsl:if test="parent::casecontent or parent::if or count(following-sibling::*) > 0"> <xsl:value-of select="$blockdivider"/> </xsl:if> *************** *** 36,44 **** <xsl:apply-templates/> - - <!-- for ifs without brackets --> - <xsl:if test="block and not(following-sibling::*[position() = 1 and name() = 'protected' and @detail = 'else'])"> - <xsl:value-of select="$blockdivider"/> - </xsl:if> </xsl:template> --- 36,39 ---- |