Skip to content

Instantly share code, notes, and snippets.

@kujon
Created March 8, 2012 11:04
Show Gist options
  • Save kujon/2000459 to your computer and use it in GitHub Desktop.
Save kujon/2000459 to your computer and use it in GitHub Desktop.
JavaScript: Defining selector
$.extend(
$.expr[ ":" ],
{ selector : function (a) { return test; }}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment