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

Mathias Bynens Paul Irish
Mathias Bynens

Chrome 18.0.978.0 canary:

wat‽

Mathias Bynens 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
Paul Irish
Owner

whoa you did an operator precendence app. Tighttt

thxxxx for this.

Paul Irish paulirish merged commit cef73a6 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 22, 2011
  1. Mathias Bynens
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/script.js
2  js/script.js
View
@@ -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.