Skip to content

Instantly share code, notes, and snippets.

@burin
Created February 2, 2009 23:46
Show Gist options
  • Save burin/57179 to your computer and use it in GitHub Desktop.
Save burin/57179 to your computer and use it in GitHub Desktop.
has: function(selector) {
var $this = this;
return $this.find(selector).length > 0
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment