I am reading javascript web application and the author is using following code:
mod.load = function(func){ $($.proxy(func, this)); }; Can someone help me to understand why returning function from jQuery.proxy is inside jQuery wrapper.
Is this the same as:
mod.load = function(func){ var temp = $.proxy(func, this); temp(); };
$.proxy(func, this)must returning function