commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbe...@apache.org
Subject svn commit: r954128 - in /commons/sandbox/gsoc/2010/scxml-js/trunk/src: javascript/scxml/cgf/xsltIRFilters.js xslt/backends/js/AbstractStatechartGenerator.xsl
Date Sat, 12 Jun 2010 19:44:15 GMT
Author: jbeard
Date: Sat Jun 12 19:44:15 2010
New Revision: 954128

URL: http://svn.apache.org/viewvc?rev=954128&view=rev
Log:
Deleted unused module xsltIRFilters.js, and took out unused variable names in AbstractStatechartGenerator.xsl

Removed:
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/xsltIRFilters.js
Modified:
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/AbstractStatechartGenerator.xsl

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/AbstractStatechartGenerator.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/AbstractStatechartGenerator.xsl?rev=954128&r1=954127&r2=954128&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/AbstractStatechartGenerator.xsl
(original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/AbstractStatechartGenerator.xsl
Sat Jun 12 19:44:15 2010
@@ -40,21 +40,25 @@
 	<variable name="allStates" 
 		select="//*[(self::s:state or self::s:parallel or self::s:final or self::s:initial or self::s:scxml
or self::s:history)]"/>
 	<variable name="states" select="//s:state"/>
-	<variable name="parallels" select="//s:parallel"/>
-	<variable name="finals" select="//s:final"/>
-	<variable name="initials" select="//s:initial"/>
 	<variable name="transitions" select="//s:transition"/>
-	<variable name="defaultTransitions" select="//s:transition[not(@event)]"/>
-	<variable name="nonDefaultTransitions" select="//s:transition[@event]"/>
 	
 	<variable name="basicStates" 
 		select="$allStates[not(.//*[(self::s:state or self::s:parallel or self::s:final or self::s:initial
or self::s:scxml or self::s:history)])]"/>
 	<variable name="compositeStates" 
 		select="$allStates[.//*[(self::s:state or self::s:parallel or self::s:final or self::s:initial
or self::s:scxml or self::s:history)]]"/>
-	<variable name="parallelRegions" select="$parallels/s:state"/>
 
 	<variable name="eventsEnum" select="/s:scxml/c:eventsEnum/c:event"/>
 
+	<!-- Variables we don't use, but which might be useful at some point -->
+	<!--
+	<variable name="parallels" select="//s:parallel"/>
+	<variable name="finals" select="//s:final"/>
+	<variable name="initials" select="//s:initial"/>
+	<variable name="parallelRegions" select="$parallels/s:state"/>
+	<variable name="defaultTransitions" select="//s:transition[not(@event)]"/>
+	<variable name="nonDefaultTransitions" select="//s:transition[@event]"/>
+	-->
+
 	<template match="/s:scxml">
 
 		<if test="$noIndexOf">



Mime
View raw message