> You could use unique IDs for each of your required JS files and then > one for the "Modules" or "Widgets" in your case.. > > you could then call this like LoadJS(file, scriptid) --- // you would > need to modify the function of coarse... > > That way you could be loading more than just one file per call and > you could load the dependent files as the first lines of the widget.js > > Does that make any sense??
Sure it makes sense :) Thanks I will take a look at that. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
