Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
otm:the_matching_of_causal_sequences:example1 [2011/06/27 06:22] aspectscript |
otm:the_matching_of_causal_sequences:example1 [2011/06/27 06:25] aspectscript |
||
---|---|---|---|
Line 51: | Line 51: | ||
</ | </ | ||
- | Finally, the definition and deployment of the entity (**tm**) that analyzes | + | Finally, the definition and deployment of the **sAspTweetPopularity** stateful aspect |
<code javascript> | <code javascript> | ||
- | var tm = { | + | var sAspTweetPopularity |
kind: AFTER, | kind: AFTER, | ||
- | | + | |
advice: function(jp, | advice: function(jp, | ||
addPopularity(env.idT, | addPopularity(env.idT, | ||
Line 61: | Line 61: | ||
spawn: newPosts | spawn: newPosts | ||
}; | }; | ||
- | deploy(tm); | + | WeCa.OTM.deploy(sAspTweetPopularity); |
</ | </ | ||
Go [[otm/ | Go [[otm/ |