How to: Wrap global methods in the runtime

Been playing with all the cool things you can do with JavaScript in Servoy 4.

Here’s an example of how you can replace take a global method, and replace it live your running solution with one that’s been wrapped in ‘before’ and ‘after’ callbacks…

http://greg.agiletortoise.com/2008/07/2 … l-methods/

Enjoy!

greg.