use 3 space indentation instead of 2
This commit is contained in:
parent
5d3a184468
commit
ead6b851ed
5 changed files with 310 additions and 304 deletions
18
traceur.xsl
18
traceur.xsl
|
@ -19,7 +19,8 @@
|
|||
paramètres -->
|
||||
<xsl:call-template name="process-commands">
|
||||
<xsl:with-param name="commands" select="*" />
|
||||
<xsl:with-param name="x" select="$initial-x" />
|
||||
<xsl:with-param name="x"
|
||||
select="$initial-x" />
|
||||
<xsl:with-param
|
||||
name="y" select="$initial-y" />
|
||||
<xsl:with-param
|
||||
|
@ -35,7 +36,8 @@
|
|||
<xsl:param name="commands" />
|
||||
<xsl:param name="x" />
|
||||
<xsl:param name="y" />
|
||||
<xsl:param name="angle" />
|
||||
<xsl:param
|
||||
name="angle" />
|
||||
<xsl:param
|
||||
name="states" />
|
||||
|
||||
|
@ -62,7 +64,8 @@
|
|||
y="{format-number($new-y, '#.######')}" />
|
||||
<!-- Rappel récursif du template avec la mise à jour des coordonnées et des
|
||||
commandes restantes -->
|
||||
<xsl:call-template name="process-commands">
|
||||
<xsl:call-template
|
||||
name="process-commands">
|
||||
<xsl:with-param name="commands" select="$commands[position() > 1]" />
|
||||
<xsl:with-param
|
||||
name="x" select="$new-x" />
|
||||
|
@ -87,7 +90,8 @@
|
|||
<xsl:with-param name="y" select="$y" />
|
||||
<xsl:with-param
|
||||
name="angle" select="$new-angle" />
|
||||
<xsl:with-param name="states" select="$states" />
|
||||
<xsl:with-param name="states"
|
||||
select="$states" />
|
||||
</xsl:call-template>
|
||||
</xsl:when>
|
||||
<!-- Si la commande est un MOVE -->
|
||||
|
@ -107,7 +111,8 @@
|
|||
y="{format-number($new-y, '#.######')}" />
|
||||
<!-- Rappel récursif du template avec la mise à jour des coordonnées et des
|
||||
commandes restantes -->
|
||||
<xsl:call-template name="process-commands">
|
||||
<xsl:call-template
|
||||
name="process-commands">
|
||||
<xsl:with-param name="commands" select="$commands[position() > 1]" />
|
||||
<xsl:with-param
|
||||
name="x" select="$new-x" />
|
||||
|
@ -134,7 +139,8 @@
|
|||
<xsl:with-param name="y" select="$y" />
|
||||
<xsl:with-param
|
||||
name="angle" select="$angle" />
|
||||
<xsl:with-param name="states" select="$new-states" />
|
||||
<xsl:with-param name="states"
|
||||
select="$new-states" />
|
||||
</xsl:call-template>
|
||||
</xsl:when>
|
||||
<!-- Si la commande est un restore et que au moins 1 état est enregistré : -->
|
||||
|
|
Reference in a new issue