Created
December 4, 2008 20:17
-
-
Save slackorama/32051 to your computer and use it in GitHub Desktop.
How to use dojox.lang.aspect tracer in dojo 1.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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