You don’t need to use $.proxy

I’ve been recently going through some extending of a jQuery UI widget which a colleague had written when I came across quite a number of statements that were using the proxy method from jQuery.
For anyone who’s not familiar with the proxy m…

I’ve been recently going through some extending of a jQuery UI widget which a colleague had written when I came across quite a number of statements that were using the proxy method from jQuery.
For anyone who’s not familiar with the proxy method is allows you to take a function and specify a context (the this value) so when you pass it around for execution you always know what you’re going to have as the context.


Print Share Comment Cite Upload Translate
APA
Posts on LINQ to Fail | Sciencx (2024-03-29T11:04:55+00:00) » You don’t need to use $.proxy. Retrieved from https://www.scien.cx/2011/12/12/you-dont-need-to-use-proxy/.
MLA
" » You don’t need to use $.proxy." Posts on LINQ to Fail | Sciencx - Monday December 12, 2011, https://www.scien.cx/2011/12/12/you-dont-need-to-use-proxy/
HARVARD
Posts on LINQ to Fail | Sciencx Monday December 12, 2011 » You don’t need to use $.proxy., viewed 2024-03-29T11:04:55+00:00,<https://www.scien.cx/2011/12/12/you-dont-need-to-use-proxy/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » You don’t need to use $.proxy. [Internet]. [Accessed 2024-03-29T11:04:55+00:00]. Available from: https://www.scien.cx/2011/12/12/you-dont-need-to-use-proxy/
CHICAGO
" » You don’t need to use $.proxy." Posts on LINQ to Fail | Sciencx - Accessed 2024-03-29T11:04:55+00:00. https://www.scien.cx/2011/12/12/you-dont-need-to-use-proxy/
IEEE
" » You don’t need to use $.proxy." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2011/12/12/you-dont-need-to-use-proxy/. [Accessed: 2024-03-29T11:04:55+00:00]
rf:citation
» You don’t need to use $.proxy | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2011/12/12/you-dont-need-to-use-proxy/ | 2024-03-29T11:04:55+00:00
https://github.com/addpipe/simple-recorderjs-demo