Skip to content

Instantly share code, notes, and snippets.

@frenkel
frenkel / css-var-polyfill.js
Last active May 15, 2017 14:02
CSS Variable Polyfill
/*
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 = {};
@frenkel
frenkel / keybase.md
Last active February 17, 2017 08:21

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: