demo

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
demo [2010/03/16 22:22]
aspectscript
demo [2010/03/16 22:26] (current)
aspectscript
Line 79: Line 79:
     </pre>     </pre>
     <pre id="step2">     <pre id="step2">
-AspectScript.deploy({+var batchAspect = AspectScript.deploy({
     kind: AspectScript.AROUND,     kind: AspectScript.AROUND,
     pointcut: function(jp){     pointcut: function(jp){
Line 99: Line 99:
  
 <pre id="step3"> <pre id="step3">
-AspectScript.deploy({+var removeAllAspect = AspectScript.deploy({
     kind: AspectScript.AFTER,     kind: AspectScript.AFTER,
     pointcut: AspectScript.Pointcuts.call(removeTag).and(function(jp){     pointcut: AspectScript.Pointcuts.call(removeTag).and(function(jp){
Line 128: Line 128:
  
   <pre id="step4">   <pre id="step4">
-AspectScript.deploy({+var batchAspect = AspectScript.deploy({
     kind: AspectScript.AROUND,     kind: AspectScript.AROUND,
     pointcut: function(jp){     pointcut: function(jp){
Line 146: Line 146:
 }); });
  
-AspectScript.deploy({+var removeAllAspect = AspectScript.deploy({
     kind: AspectScript.AFTER,     kind: AspectScript.AFTER,
     pointcut: AspectScript.Pointcuts.call(removeTag).and(function(jp){     pointcut: AspectScript.Pointcuts.call(removeTag).and(function(jp){
Line 175: Line 175:
  
   <pre id="step5">   <pre id="step5">
-AspectScript.deploy({+var batchAspect = AspectScript.deploy({
     kind: AspectScript.AROUND,     kind: AspectScript.AROUND,
     pointcut: function(jp){     pointcut: function(jp){
Line 193: Line 193:
 }); });
  
-AspectScript.deploy({+var removeAllAspect = AspectScript.deploy({
     kind: AspectScript.AFTER,     kind: AspectScript.AFTER,
     pointcut: AspectScript.Pointcuts.call(removeTag).and(function(jp){     pointcut: AspectScript.Pointcuts.call(removeTag).and(function(jp){
  • demo.1268778161.txt.gz
  • Last modified: 2010/03/16 22:22
  • by aspectscript