get-debug.js revision a76f066cb8261ad9f7c6c4d81d8c3bed2f1a788a
/**
* NodeJS specific Get module used to load remote resources. It contains the same signature as the default Get module so there is no code change needed.
* Note: There is an added method called Get.domScript, which is the same as Get.script in a browser, it simply loads the script into the dom tree
* so that you can call outerHTML on the document to print it to the screen.
* @module get-nodejs
*/
Y.Get = function() {};
};
cb(null);
};
p = Y.Get.urlInfoPort(u),
if (u.search) {
}
var h = http;
h = https;
}
h.get({
port: p,
}, function(res) {
var mod = '';
});
});
});
} else {
//Needs to be in useSync
} else {
});
}
}
};
//Y.log('Get end: ' + cb.onEnd);
}
//Y.log('Get pass: ' + cb.onSuccess);
}
//Y.log('Get fail: ' + er);
}
};
/**
* Override for Get.script for loading local or remote YUI modules.
*/
var A = Y.Array,
for (i=0; i<l; i++) {
Y.Get._include(url, function(err) {
if (!Y.config) {
Y.config = {
debug: true
};
}
if (err) {
if (err.stack) {
A.each(err.stack.split('\n'), function(frame) {
});
} else {
console.log(err);
}
} else {
pass(cb);
}
});
}
};