Skip to content

Instantly share code, notes, and snippets.

@slackorama
Created December 4, 2008 20:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slackorama/32051 to your computer and use it in GitHub Desktop.
Save slackorama/32051 to your computer and use it in GitHub Desktop.
How to use dojox.lang.aspect tracer in dojo 1.2
dojo.require('dojox.lang.aspect');
dojo.require('dojo.lang.aspect.tracer');
dojo.addOnLoad( function() {
var aop = dojox.lang.aspect;
aop.advise( yourObj,
/^((?!toString).)*$/,
new aop.tracer(true));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment