|
Nicolas Connault committed 5 files to 'Moodle CVS' - 24/Jul/08 09:37 PM
[
Permalink
| « Hide
]
Nicolas Connault added a comment - 24/Jul/08 09:37 PM
Improved Bryce's patch and applied. YUI version number is kept in a simple version.php file, to be updated manually when updating the YUI libraries.
Nicolas Connault made changes - 24/Jul/08 09:37 PM
Hi Nico,
aren't there limits (restrictions) about js only being able to connect to server it comes from, or something similar. Or perhaps I'm wrong and that's only java applets. Anyway, sounds ok for me to provide that ability via CFG parameter. +1 for it. Ciao Eloy,
You're thinking of the "same origin" policy for Javascript: http://www.mozilla.org/projects/security/components/same-origin.html This refers to calling other servers while executing Javascript. All we're doing here is loading the YUI libraries from Yahoo's server. They will function just like we loaded them from our own server. Thanks,
Mitsuhiro Yoshida committed 7 files to 'Lang CVS' - 25/Jul/08 01:11 AM
Petr Skoda committed 1 file to 'Moodle CVS' - 25/Jul/08 05:45 AM
this can not be enabled by default, I have changed the default in cvs
reopening, please add a warning that all users must have internet access
Petr Skoda made changes - 25/Jul/08 05:46 AM
Nicolas Connault committed 1 file to 'Moodle CVS' - 25/Jul/08 05:32 PM
Nicolas Connault made changes - 25/Jul/08 05:32 PM
See this YUI blog article for an interesting approach to loading external JS files:
http://yuiblog.com/blog/2008/07/22/non-blocking-scripts/
Mitsuhiro Yoshida committed 3 files to 'Lang CVS' - 25/Jul/08 11:58 PM
martignoni committed 1 file to 'Lang CVS' - 26/Jul/08 04:45 AM
martignoni committed 1 file to 'Lang CVS' - 26/Jul/08 04:49 AM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||