Skip to content

Conversation

fruedadina
Copy link

Hola Christian, he estado trabajando con vajax. Me parece estupendo lo que has hecho, me has ahorrado un buen rato de trabajo. Al intentar usarlo en 3er. plano en modo síncrono he tenido problemas y los he resuelto.

Te dejo los detalles (los puse en inglés porque vi que tu también lo haces en tu código, por tanto para que sea coherente - no escribo inglés muy bien ;) - ):

If you launch vajax from a third plane with "async: false" option, don't work because "while(xhr.readyState != 4) { xhr.processEvents(); }" don't work for sync procedure. Now can skip this code if sync procedure is apply.

xhr.open() has fixed with async option, because "options.async || true" is true always. Now is true by default or false if you want sync procedure.

If you launch vajax from a third plane with "async: false" option, don't work because "while(xhr.readyState != 4) { xhr.processEvents(); }" don't work for sync procedure. Now can skip this code if sync procedure is apply.

xhr.open() has fixed with async option, because "options.async || true" is true always. Now is true by default or false if you want sync procedure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant