scratchpad

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
scratchpad [2010/05/11 23:02]
aspectscript
scratchpad [2010/05/11 23:08] (current)
aspectscript
Line 8: Line 8:
 <form action="/aspectscript/external/aspectscript/transformer.php" method="post" target="exec_frame" enctype="application/x-www-form-urlencoded"> <form action="/aspectscript/external/aspectscript/transformer.php" method="post" target="exec_frame" enctype="application/x-www-form-urlencoded">
 <textarea name="code" cols="54" rows="15"> <textarea name="code" cols="54" rows="15">
-    var tm = OTM.tm(OPs.seq(Ses.call(a), Ses.call(b))); 
-    var aspect = OTM.aspect(AS.BEFORE, tm, function(event){ 
-           var seqs = document.getElementById("seqs"); 
-            jps.innerHTML += (event + " "); 
-    }); 
- 
-    AS.deploy(aspect); 
-    a(); 
-    b(); 
-/* 
 var pc = function(){ var pc = function(){
    return true;    return true;
Line 32: Line 22:
 var obj = {f: 1}; var obj = {f: 1};
 var fun = function(){}; var fun = function(){};
-*/ 
 </textarea> </textarea>
  
 <textarea name="html" cols="52" rows="15"> <textarea name="html" cols="52" rows="15">
 <b>Sequences matched:</b> <b>Sequences matched:</b>
-<div id="seqs"></div>+<div id="jps"></div>
 </textarea> </textarea>
  
  • scratchpad.1273618933.txt.gz
  • Last modified: 2010/05/11 23:02
  • by aspectscript