Skip to content

Observing signals in JAK application

aichi edited this page Dec 7, 2011 · 1 revision

If you need to observe signals in your application, you should use a simple observer shown below.

<script src="http://gist.github.com/431778.js"></script>

It writes to console which signal was fired and the class of the instance (if it is known). The event object is logged as well.

If you call wa.setListen(false); it will stop logging signals to console.

Clone this wiki locally