You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the browser context, it is slightly more efficient (depending on the use case) for a user of translate.js to pass a string as the callback, which is the name of the global function that will be used when the jsonp request is complete. Besides that it is a nice additional feature I think.
The text was updated successfully, but these errors were encountered:
you'd have to show me the code, i dont really understand. if you are talking about event binding sugar syntax, i think thats the job for an event library, not translate
this is a problem i think. if you fire two concurrent translate requests the callbacks are going to get borked?
this is why i wanted to use a standard JSONP / AJAX library for this. i might revert back to jQuery, since I know jQuery will automatically create the dynamic callback names for you.
In the browser context, it is slightly more efficient (depending on the use case) for a user of translate.js to pass a string as the callback, which is the name of the global function that will be used when the jsonp request is complete. Besides that it is a nice additional feature I think.
The text was updated successfully, but these errors were encountered: