Skip to content

Instantly share code, notes, and snippets.

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