Author: jbeard
Date: Sat Aug 28 19:14:48 2010
New Revision: 990413
URL: http://svn.apache.org/viewvc?rev=990413&view=rev
Log:
Fixed bug in sandbox demo. DOM was being used incorrectly to read value out of
textArea element.
Modified:
commons/sandbox/gsoc/2010/scxml-js/trunk/demo/sandbox/sandbox.html
Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/demo/sandbox/sandbox.html
URL:
http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/demo/sandbox/sandbox.html?rev=990413&r1=990412&r2=990413&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/demo/sandbox/sandbox.html
(original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/demo/sandbox/sandbox.html Sat Aug
28 19:14:48 2010
@@ -154,7 +154,7 @@ that uses the SCXMLCompiler front-end.
var backend =
"state";
//parse
textArea into xml
- var textInput =
xmlUtil.parseFromString(scxml_input.textContent || scxml_input.innerText);
+ var textInput =
xmlUtil.parseFromString(scxml_input.value || scxml_input.innerText);
compiler.compile({
inFiles:[textInput],