Skip to content

Commit

Permalink
adding some newlines for -=
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Aug 28, 2008
1 parent d66380e commit 93d2dff
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions transforms/test-to-ruby.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -795,8 +795,8 @@ require 'helper'
<xsl:param name="vardefs"/>
<xsl:text> return </xsl:text>
<xsl:value-of select="@value"/>
<xsl:text>;
</xsl:text>
<xsl:text>
</xsl:text>
</xsl:template>


Expand All @@ -814,6 +814,8 @@ require 'helper'
<xsl:value-of select="@var"/>
<xsl:text> -= </xsl:text>
<xsl:value-of select="@value"/>
<xsl:text>
</xsl:text>
</xsl:template>

<xsl:template match="*[local-name()='plus']" mode="body">
Expand All @@ -823,6 +825,8 @@ require 'helper'
<xsl:value-of select="@op1"/>
<xsl:text> + </xsl:text>
<xsl:value-of select="@op2"/>
<xsl:text>
</xsl:text>
</xsl:template>

<xsl:template match="*[local-name()='subtract']" mode="body">
Expand All @@ -832,6 +836,8 @@ require 'helper'
<xsl:value-of select="@op1"/>
<xsl:text> - </xsl:text>
<xsl:value-of select="@op2"/>
<xsl:text>
</xsl:text>
</xsl:template>


Expand All @@ -842,6 +848,8 @@ require 'helper'
<xsl:value-of select="@op1"/>
<xsl:text> * </xsl:text>
<xsl:value-of select="@op2"/>
<xsl:text>
</xsl:text>
</xsl:template>


Expand All @@ -852,8 +860,8 @@ require 'helper'
<xsl:value-of select="@op1"/>
<xsl:text> / </xsl:text>
<xsl:value-of select="@op2"/>
<xsl:text>;
</xsl:text>
<xsl:text>
</xsl:text>
</xsl:template>

<xsl:template match="*[local-name()='substring']" mode="body">
Expand Down

0 comments on commit 93d2dff

Please sign in to comment.