rls-debug.js revision 7380653a55868892cb97060c61641fc73ba22cbe
3303f085664c9d7add74753b1b1541871cd31498joelholdsworth* Checks the environment for local modules and deals with them before firing off an RLS request.
3303f085664c9d7add74753b1b1541871cd31498joelholdsworth* This needs to make sure that all dependencies are calculated before it can make an RLS request in
3303f085664c9d7add74753b1b1541871cd31498joelholdsworth* order to make sure all remote dependencies are evaluated and their requirements are met.
3303f085664c9d7add74753b1b1541871cd31498joelholdsworth* @method rls_locals
181d91ade6a7f4e59fbfe1e10567dda3f8f0e2a6JazzyNico* @param {YUI} instance The YUI Instance we are working with.
3303f085664c9d7add74753b1b1541871cd31498joelholdsworth* @param {Array} argz The requested modules.
for (f in mods) {
if (asked[f]) {
if (mods[f]) {
onEnd: function(o) {
* @return {string} the url for the remote loader service call, returns false if no modules are required to be fetched (they are in the ENV already).
YArray = Y.Array,
YObject = Y.Object,
v: Y.version,
var s = [], param;
w = [], gallery = [],
url;
Y.log('Did not find ' + what[i] + ' in YUI.Env.mods or config.modules adding to RLS', 'info', 'rls');
if (mods) {
for (i in mods) {
d = d.details || d;
if (d.requires) {
if (Y.rls_needs(o)) {
m.push(o);
if (Y.rls_needs(o)) {
m.push(o);
if (!Y.Loader) {
if (!m.length) {
attach: m,
inst: Y,
return url;
* Calls the callback registered with Y.rls_oncomplete when the RLS request (and it's dependency requests) is done.
* @param {String} req.css Does this request need CSS? If so, load the same RLS url with &css=1 attached
if (loadInt) {