commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbe...@apache.org
Subject svn commit: r948895 - /commons/sandbox/gsoc/2010/scxml-js/trunk/src/scxml/cgf/SCXMLCompiler.js
Date Thu, 27 May 2010 16:29:39 GMT
Author: jbeard
Date: Thu May 27 16:29:39 2010
New Revision: 948895

URL: http://svn.apache.org/viewvc?rev=948895&view=rev
Log:
Removed some extraneous comments from SCXMLCompiler

Modified:
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/scxml/cgf/SCXMLCompiler.js

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/scxml/cgf/SCXMLCompiler.js
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/scxml/cgf/SCXMLCompiler.js?rev=948895&r1=948894&r2=948895&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/scxml/cgf/SCXMLCompiler.js (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/scxml/cgf/SCXMLCompiler.js Thu May 27 16:29:39
2010
@@ -197,32 +197,8 @@ require.def("src/scxml/cgf/SCXMLCompiler
 
 				conf.parallelRegions = conf.parallels.state;
 
-
-				/*
-				conf.statesDescendedFromParallelRegions = conf.parallelRegions..*.(localName() in stateTagsHash);
-
-				conf.basicStatesDescendedFromParallelRegions = conf.statesDescendedFromParallelRegions.(stateTagsArray.every(
-							function(s){
-								return descendants(s).length() == 0
-							}));
-				*/
-
-
 				conf.parallelsAndDescendantStates = conf.parallels + conf.parallels..*.(localName() in
stateTagsHash);
 
-				/*
-				//then we need to know basic states that are descendants of parallel regions, vs. basic
states that are not.
-				//might be best to try to formulate this as one query, as we cannot search ancestors.
-				//need to think about this in terms of finding parents first
-				conf.basicNonParallelStates = foreach(conf.basicStates,function(s){
-					if(conf.parallels.descendants().contains(s)){
-						return s;
-					}
-					else{
-						return <></>;
-					}
-				});
-				*/
 
 				//make sure all states have id's
 				var idNum = 0;



Mime
View raw message