Question regarding closure / scoping in callback functions
please could anyone explain why the variables sUsername, oModel, sPath, that are not in scope of my callback function for the createBindingContext call? I would expect them to be available as closure variables.
I guess the variables are available and have seen at times the debugger just doesn't pick the variables in the closure when it isn't used ! Try doing this,