Well, perhaps this means that it means that the โnameโ that it expects should be a string containing the name of the function, instead of the โbareโ name of the function (which is a reference to the function) or an expression to create / define the function.
Change OK. I see what a deal it is. It really is not Google Maps, it is a tool for downloading Google Javascript. The API really wants a string that makes perfect sense, because the function you want to call is inside the loadable code, and therefore you cannot reference it from the calling environment.
google.load("feeds", "1", {"callback" : "someFunctionName"});
It makes no sense to write:
google.load("feeds", "1", {"callback" : someFunctionName});
because "someFunctionName" is used as this - as a reference to something; cannot be a reference to the correct function (if one is defined at all).
source share