Skip to content

Instantly share code, notes, and snippets.

@LeifW
Created April 4, 2009 08:52
Show Gist options
  • Save LeifW/90156 to your computer and use it in GitHub Desktop.
Save LeifW/90156 to your computer and use it in GitHub Desktop.
<container> <position>280</position> <position>140</position> <xtype>jsBox</xtype> <codeText>function() { return 3; }</codeText></container>
<container> <position>500</position> <position>150</position> <xtype>jsBox</xtype> <codeText>function() { return 6; }</codeText></container>
<container> <position>400</position> <position>280</position> <xtype>jsBox</xtype> <codeText>function(a,b) { return a*b; }</codeText></container>
<container> <position>450</position> <position>440</position> <xtype>jsBox</xtype> <codeText>function(result) { alert('the result is '+result); }</codeText></container>
<wire> <src> <moduleId>0</moduleId> <terminalId>0</terminalId></src> <tgt> <moduleId>2</moduleId> <terminalId>0</terminalId></tgt></wire>
<wire> <src> <moduleId>1</moduleId> <terminalId>0</terminalId></src> <tgt> <moduleId>2</moduleId> <terminalId>1</terminalId></tgt></wire>
<wire> <src> <moduleId>2</moduleId> <terminalId>2</terminalId></src> <tgt> <moduleId>3</moduleId> <terminalId>0</terminalId></tgt></wire>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment