Skip to content

Instantly share code, notes, and snippets.

Frank Groeneveld frenkel

View GitHub Profile
@frenkel
frenkel / css-var-polyfill.js
Last active May 15, 2017 — forked from SahAssar/css-var-polyfill.js
CSS Variable Polyfill
View css-var-polyfill.js
/*
TODO:
- Option to wait to apply anything until all <link>s are parsed or inject what we have and update as each <link> returns
*/
var cssVarPoly = {
init: function() {
if (window.CSS && window.CSS.supports && window.CSS.supports('(--foo: red)')) {
return;
}
cssVarPoly.ratifiedVars = {};
View keybase.md

Keybase proof

I hereby claim:

  • I am frenkel on github.
  • I am frenkel (https://keybase.io/frenkel) on keybase.
  • I have a public key whose fingerprint is 5EFF 7D9F 0F29 19CB EFE2 95A7 A5FB B5D4 F11B 3231

To claim this, I am signing this object:

You can’t perform that action at this time.