I have some javascript code (within an object) :
toggle: function() { var me = this; var handler = function() { me.progress() }; me.intervalId = setI
Have you tried to return the function like this?
var handler = function(o){ return function(){ o.progress(); } }(me);
Now you can call:
handler();