function sig(w,e) {
 //"compiled";
 var d = 0|10000*(e.time-e.lastTime);
 if (d<1 | d>4) {
  if (w.data.length>20) decode(w);
  w.data="";
 } else if (!e.state) w.data+=0|d>2;
}
// The handler that gets called when the signal changes state. Ideally this would be compiled, but the Web IDE won't do that at the moment.
The handler that gets called when the signal changes state. Ideally this would be compiled, but the Web IDE won't do that at the moment.
The handler that gets called when the signal changes state . Ideally this would be compiled but the Web IDE won ' t do that at the moment .
function sig(w,e) {
 var d = 0|10000*(e.time-e.lastTime);
 if (d<1 | d>4) {
  if (w.data.length>20) decode(w);
  w.data="";
 } else if (!e.state) w.data+=0|d>2;
}
function sig ( w , e ) { var d = 0 | 10000 * ( e . time - e . lastTime ) ; if ( d < 1 | d > 4 ) { if ( w . data . length > 20 ) decode ( w ) ; w . data = "" ; } else if ( ! e . state ) w . data += 0 | d > 2 ; }
The handler that gets called when the signal changes state.
The handler that gets called when the signal changes state .
//"compiled";