Fetching of JavaScript is Synchrnous in JSAN.js ?

0 views
Skip to first unread message

ksachdeva

unread,
Mar 17, 2007, 10:30:37 PM3/17/07
to JSAN Users
Hi ,

I came across JSAN while looking for a framework/library which would
help me do on-demand javascript. I liked the use, require concept but
figured that when you use XmlHttpRequest to fetch the javascript
module you use synchronous model.

I was more inclined towards using the async mode so that I can display
some progress bar to the user while javascript is being fetched and I
also get a notification about the success or failure of fetch.

It is easier to modify your script but just guessing there might be a
reason why you did not do that in the first place. Would appreciate if
you could share the reasons if any.

Regards & thanks
Kapil

Reply all
Reply to author
Forward
0 new messages