Permalink
Browse files

Removing debugging.

  • Loading branch information...
1 parent ca3c469 commit d765b39af1283080dd617c2e2f6c4d2cf5ced648 @tmcw tmcw committed Jun 22, 2011
Showing with 4 additions and 24 deletions.
  1. +0 −4 control/lib/util.js
  2. +0 −4 dist/wax.g.js
  3. +1 −1 dist/wax.g.min.js
  4. +0 −4 dist/wax.leaf.js
  5. +1 −1 dist/wax.leaf.min.js
  6. +0 −4 dist/wax.mm.js
  7. +1 −1 dist/wax.mm.min.js
  8. +0 −4 dist/wax.ol.js
  9. +1 −1 dist/wax.ol.min.js
View
@@ -36,22 +36,19 @@ wax.util = {
};
calculateOffset(el);
- console.log('after first revision: ' + top + ': ' + left);
try {
while (el = el.offsetParent) calculateOffset(el);
} catch(e) {
// Hello, internet explorer.
}
- console.log('after second revision: ' + top + ': ' + left);
// Offsets from the body
top += document.body.offsetTop;
left += document.body.offsetLeft;
// Offsets from the HTML element
top += document.body.parentNode.offsetTop;
left += document.body.parentNode.offsetLeft;
- console.log('after third revision: ' + top + ': ' + left);
// Firefox and other weirdos. Similar technique to jQuery's
// `doesNotIncludeMarginInBodyOffset`.
@@ -64,7 +61,6 @@ wax.util = {
top += parseInt(htmlComputed.marginTop, 10);
left += parseInt(htmlComputed.marginLeft, 10);
}
- console.log('after fourth revision: ' + top + ': ' + left);
return {
top: top,
View
@@ -617,22 +617,19 @@ wax.util = {
};
calculateOffset(el);
- console.log('after first revision: ' + top + ': ' + left);
try {
while (el = el.offsetParent) calculateOffset(el);
} catch(e) {
// Hello, internet explorer.
}
- console.log('after second revision: ' + top + ': ' + left);
// Offsets from the body
top += document.body.offsetTop;
left += document.body.offsetLeft;
// Offsets from the HTML element
top += document.body.parentNode.offsetTop;
left += document.body.parentNode.offsetLeft;
- console.log('after third revision: ' + top + ': ' + left);
// Firefox and other weirdos. Similar technique to jQuery's
// `doesNotIncludeMarginInBodyOffset`.
@@ -645,7 +642,6 @@ wax.util = {
top += parseInt(htmlComputed.marginTop, 10);
left += parseInt(htmlComputed.marginLeft, 10);
}
- console.log('after fourth revision: ' + top + ': ' + left);
return {
top: top,
View
Oops, something went wrong.
View
@@ -617,22 +617,19 @@ wax.util = {
};
calculateOffset(el);
- console.log('after first revision: ' + top + ': ' + left);
try {
while (el = el.offsetParent) calculateOffset(el);
} catch(e) {
// Hello, internet explorer.
}
- console.log('after second revision: ' + top + ': ' + left);
// Offsets from the body
top += document.body.offsetTop;
left += document.body.offsetLeft;
// Offsets from the HTML element
top += document.body.parentNode.offsetTop;
left += document.body.parentNode.offsetLeft;
- console.log('after third revision: ' + top + ': ' + left);
// Firefox and other weirdos. Similar technique to jQuery's
// `doesNotIncludeMarginInBodyOffset`.
@@ -645,7 +642,6 @@ wax.util = {
top += parseInt(htmlComputed.marginTop, 10);
left += parseInt(htmlComputed.marginLeft, 10);
}
- console.log('after fourth revision: ' + top + ': ' + left);
return {
top: top,
Oops, something went wrong.
View
@@ -617,22 +617,19 @@ wax.util = {
};
calculateOffset(el);
- console.log('after first revision: ' + top + ': ' + left);
try {
while (el = el.offsetParent) calculateOffset(el);
} catch(e) {
// Hello, internet explorer.
}
- console.log('after second revision: ' + top + ': ' + left);
// Offsets from the body
top += document.body.offsetTop;
left += document.body.offsetLeft;
// Offsets from the HTML element
top += document.body.parentNode.offsetTop;
left += document.body.parentNode.offsetLeft;
- console.log('after third revision: ' + top + ': ' + left);
// Firefox and other weirdos. Similar technique to jQuery's
// `doesNotIncludeMarginInBodyOffset`.
@@ -645,7 +642,6 @@ wax.util = {
top += parseInt(htmlComputed.marginTop, 10);
left += parseInt(htmlComputed.marginLeft, 10);
}
- console.log('after fourth revision: ' + top + ': ' + left);
return {
top: top,
View
Oops, something went wrong.
View
@@ -617,22 +617,19 @@ wax.util = {
};
calculateOffset(el);
- console.log('after first revision: ' + top + ': ' + left);
try {
while (el = el.offsetParent) calculateOffset(el);
} catch(e) {
// Hello, internet explorer.
}
- console.log('after second revision: ' + top + ': ' + left);
// Offsets from the body
top += document.body.offsetTop;
left += document.body.offsetLeft;
// Offsets from the HTML element
top += document.body.parentNode.offsetTop;
left += document.body.parentNode.offsetLeft;
- console.log('after third revision: ' + top + ': ' + left);
// Firefox and other weirdos. Similar technique to jQuery's
// `doesNotIncludeMarginInBodyOffset`.
@@ -645,7 +642,6 @@ wax.util = {
top += parseInt(htmlComputed.marginTop, 10);
left += parseInt(htmlComputed.marginLeft, 10);
}
- console.log('after fourth revision: ' + top + ': ' + left);
return {
top: top,
View
Oops, something went wrong.

0 comments on commit d765b39

Please sign in to comment.