Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

skips rule type 2 #1

Closed
wants to merge 1 commit into from

2 participants

@jordang

No description provided.

@jordang

This is awesome -- perfect timing for what I'm working on! Thanks so much for writing this! I found a small fix. There are other style types that probably need to be addressed, but everything is working fine for me now!

@jordang jordang closed this
@jordang jordang reopened this
@rodneyrehm
Owner

Good catch, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 24, 2014
  1. @jordang

    skips rule type 2

    jordang authored
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 1 deletion.
  1. +4 −1 viewport-units-buggyfill.js
View
5 viewport-units-buggyfill.js
@@ -70,6 +70,9 @@
}
return;
}
+
+ if (rule.type === 2)
+ return;
if (!rule.style) {
forEach.call(rule.cssRules, function(_rule) {
@@ -179,4 +182,4 @@
init: initialize,
refresh: refresh
};
-}));
+}));
Something went wrong with that request. Please try again.