You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by jb...@apache.org on 2010/08/17 18:46:52 UTC
svn commit: r986389 - in
/commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf:
SCXMLCompiler.js main.js
Author: jbeard
Date: Tue Aug 17 16:46:51 2010
New Revision: 986389
URL: http://svn.apache.org/viewvc?rev=986389&view=rev
Log:
Updated the options that the compiler is able to take. --ie now aliases only to noIndexOf
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/SCXMLCompiler.js
commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/main.js
Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/SCXMLCompiler.js
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/SCXMLCompiler.js?rev=986389&r1=986388&r2=986389&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/SCXMLCompiler.js (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/SCXMLCompiler.js Tue Aug 17 16:46:51 2010
@@ -51,7 +51,7 @@ require.def("src/javascript/scxml/cgf/SC
if(!options.inFiles) return false;
if(options.ie){
- options.noMap = options.noForEach = options.noIndexOf = options.noSome = options.noFilter = true;
+ options.noIndexOf = true;
}
var backendModuleToImport =
Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/main.js
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/main.js?rev=986389&r1=986388&r2=986389&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/main.js (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/javascript/scxml/cgf/main.js Tue Aug 17 16:46:51 2010
@@ -24,10 +24,6 @@ It accepts command-line arguments, and c
/*
supported options:
backend {switch | table | state}
- ie
- noForEach
- noIndexOf
- noMap
beautify
log
verbose
@@ -45,10 +41,7 @@ require.def("src/javascript/scxml/cgf/ma
var optionsMap = {
backend : { argName : "backendValue" },
ie : true,
- noForEach : true,
noIndexOf : true,
- noMap : true,
- noFilter : true,
beautify : true,
log : true,
verbose : true,