Skip to content

Instantly share code, notes, and snippets.

@nicholasstephan
Last active October 10, 2015 17:58
Show Gist options
  • Save nicholasstephan/3729632 to your computer and use it in GitHub Desktop.
Save nicholasstephan/3729632 to your computer and use it in GitHub Desktop.
JS: jquery has selector shorthand
jQuery.parse.push(/^\s*(<)(\s*)(.*)$/);
jQuery.expr["<"] = jQuery.expr[":"].has;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment