Generic JavaScript callback

Sep 5, 2010 at 2:19am

Generic JavaScript callback

Hello,

I’m working on a listener for all parts of the live ui through MaxForLive. What I would like is to create a generic base function that can be reused for the different callbacks. Is this possible in JavaScript???

Thanks,
Brett

#52168
Sep 5, 2010 at 4:30am

It’s possible to do this in JavaScript. Here is a CodeProject.com article that covers a couple of possible approaches: http://www.codeproject.com/Articles/38909/A-simple-JavaScript-generic-type-pattern-implement.aspx

#187479
Sep 13, 2010 at 4:00am

This is excellent.

Thank you for your help.

Brett

#187480

You must be logged in to reply to this topic.