A little lost on what the question is, but I took an assumption and
ran with it.  The idea of stacking these methods was intriguing.
Check out this code, its pretty useless really but an interesting
example of object ownership and function delegation.

var MyClass = function(){
        this.name = "Matt";
        this.speak = function(){
                alert(this.name);
        }
}
var YourClass = function(){
        this.name = "Miguel";

};
var yourObj = new YourClass();
var myObj = new MyClass();

var myHandle = myObj.speak.bind(yourObj);
myHandle.defer();
console.log(myHandle);





On Nov 12, 3:11 pm, "Miguel Beltran R." <[EMAIL PROTECTED]> wrote:
> Checkinghttp://proto-scripty.wikidot.com/prototype:how-to-using-unobtrusive-j...http://proto-scripty.wikidot.com/prototype:how-to-hooking-eventsnot
>  say if
> is possible combine bind and defer.
>
> --
> ________________________________________
> Lo bueno de vivir un dia mas
> es saber que nos queda un dia menos de vida
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to