1364N/A--- web/static/yui-debug.js.orig Sat Mar 10 02:15:00 2012
1364N/A+++ web/static/yui-debug.js Sat Mar 10 12:26:29 2012
1364N/A@@ -869,10 +869,13 @@
1364N/A r = [],
1364N/A ret = true,
1364N/A fetchCSS = config.fetchCSS,
1364N/A- process = function(names, skip) {
1364N/A-
1364N/A- var i = 0, a = [];
1364N/A-
1364N/A+ process = function(names, skip, indent) {
1364N/A+ var prefix = function(indent) {
1364N/A+ var l = indent.length/4;
1364N/A+ var label = "ABCDEFGHJIKLMNOPQRSTUVWXYZ";
1364N/A+ return label.charAt(l-1) + indent;
1364N/A+ };
1364N/A+ var i = 0, a = [], indent = indent || "";
1364N/A if (!names.length) {
1364N/A return;
1364N/A }
1364N/A@@ -881,6 +884,7 @@
1364N/A for (i = 0; i < names.length; i++) {
1364N/A if (aliases[names[i]]) {
1364N/A a = [].concat(a, aliases[names[i]]);
1364N/A+Y.log(prefix(indent) + "ALIAS: " + names[i] + ' = ' + aliases[names[i]].join(', '), 'info');
1364N/A } else {
1364N/A a.push(names[i]);
1364N/A }
1364N/A@@ -887,9 +891,9 @@
1364N/A }
1364N/A names = a;
1364N/A }
1364N/A-
1364N/A+ indent += " ";
1364N/A YArray.each(names, function(name) {
1364N/A-
1364N/A+ Y.log(prefix(this) + "CHECK: " + name, 'info');
1364N/A // add this module to full list of things to attach
1364N/A if (!skip) {
1364N/A r.push(name);
1364N/A@@ -897,6 +901,7 @@
1364N/A
1364N/A // only attach a module once
1364N/A if (used[name]) {
1364N/A+ Y.log(prefix(this) + "DONE: " + name, 'info');
1364N/A return;
1364N/A }
1364N/A
1364N/A@@ -910,6 +915,7 @@
1364N/A // CSS files don't register themselves, see if it has
1364N/A // been loaded
1364N/A if (!G_ENV._loaded[VERSION][name]) {
1364N/A+ Y.log(prefix(this) + "MISSING: " + name, 'warn');
1364N/A missing.push(name);
1364N/A } else {
1364N/A used[name] = true; // probably css
1364N/A@@ -918,14 +924,17 @@
1364N/A
1364N/A // make sure requirements are attached
1364N/A if (req && req.length) {
1364N/A- process(req);
1364N/A+ Y.log(prefix(this) + "REQUIRES: " + req.join(', '), 'info');
1364N/A+ process(req, 0, this);
1364N/A }
1364N/A
1364N/A // make sure we grab the submodule dependencies too
1364N/A if (use && use.length) {
1364N/A- process(use, 1);
1364N/A+ Y.log(prefix(this) + "USES: " + use.join(', '), 'info');
1364N/A+ process(use, 1, this);
1364N/A }
1364N/A- });
1364N/A+ Y.log(prefix(this) + "DONE: " + name, 'info');
1364N/A+ }, indent);
1364N/A },
1364N/A
1364N/A handleLoader = function(fromLoader) {
1364N/A@@ -28062,7 +28071,7 @@
1364N/A
1364N/A var i,l, etCached, et,touchCache;
1364N/A
1364N/A- Y.log("Calling facade._touch() with e = " + e);
1364N/A+ // Y.log("Calling facade._touch() with e = " + e); // too havy
1364N/A
1364N/A if (e.touches) {
1364N/A Y.log("Found e.touches. Replicating on facade");
1364N/A@@ -33066,7 +33075,7 @@
1364N/A * @for YUI
1364N/A * @param {String} msg The message to log.
1364N/A * @param {String} cat The log category for the message. Default
1364N/A- * categories are "info", "warn", "error", time".
1364N/A+ * categories are "info", "warn", "error", debug".
1364N/A * Custom categories can be used as well. (opt).
1364N/A * @param {String} src The source of the the message (opt).
1364N/A * @param {boolean} silent If true, the log event won't fire.