Skip to content

Instantly share code, notes, and snippets.

@aarongustafson
Created November 30, 2009 22:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aarongustafson/245831 to your computer and use it in GitHub Desktop.
Save aarongustafson/245831 to your computer and use it in GitHub Desktop.
eCSStender.register(
{'selector': 'p'},
'*',
function( selector, properties, media, specificity )
{
console.log('eCSStender matched the selector "' + selector +
'" in the media type ' + media + '. It’s properties follow:');
console.log(properties);
console.log('The specificity of this selector is ' + specificity);
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment