Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Make the feature detect actually work #3

Merged
merged 1 commit into from

2 participants

@mathiasbynens

Chrome 18.0.978.0 canary:

wat‽

@mathiasbynens mathiasbynens commented on the diff
js/script.js
@@ -12,7 +12,7 @@ var h1 = document.querySelector('h1');
// tell unsupporting browsers to FUCK OFF
-if (!'textShadow' in document.body.style){
+if (!('textShadow' in document.body.style)) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@paulirish
Owner

whoa you did an operator precendence app. Tighttt

thxxxx for this.

@paulirish paulirish merged commit cef73a6 into paulirish:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 22, 2011
  1. @mathiasbynens
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/script.js
View
2  js/script.js
@@ -12,7 +12,7 @@ var h1 = document.querySelector('h1');
// tell unsupporting browsers to FUCK OFF
-if (!'textShadow' in document.body.style){
+if (!('textShadow' in document.body.style)) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
document.querySelector('fieldset').style.display = 'none';
document.querySelector('textarea').style.display = 'none';
h1.style.marginTop = 0;
Something went wrong with that request. Please try again.