In other words, in my mind I was thinking of something like this: function look like?
Well, it takes a function with the required signature (that is, takes three parameters) and returns another function, the event handler, that is also of the required signature and that calls the original function. The problem is the the context passed in for the wrapper function.
The first method signature has no arguments, so it’ll just return the HTML within that element. It all started last week when I was exploring Layout Manager for Backbone.
The other two signatures take a single argument: a string or a function that returns a string. I was looking through the code that was generated using the Backbone Boilerplate utility for to give myself a better idea of how Layout Manager is used, when I saw this little snippet of code: is called.
Joe Zimmerman has been doing web development ever since he found an HTML book on his dad's shelf when he was 12.