Skip to content

Commit

Permalink
window.Touch no longer reliable differentiator
Browse files Browse the repository at this point in the history
Console logging was previously disabled for tablets and phones (for
reasons I no longer recall) using `window.Touch` to distinguish them
from other platforms.  This is no longer a valid distinction since
non-phone / non-tablet browsers are beginning to expose the name space
regardless of whether the host envirionment supports touch events.
  • Loading branch information
kriskowal committed Oct 20, 2013
1 parent 90ab87e commit 67bdbfc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion q.js
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,6 @@ function displayUnhandledReasons() {
if (
!unhandledReasonsDisplayed &&
typeof window !== "undefined" &&
!window.Touch &&
window.console
) {
console.warn("[Q] Unhandled rejection reasons (should be empty):",
Expand Down

0 comments on commit 67bdbfc

Please sign in to comment.