Skip to content

Instantly share code, notes, and snippets.

@stevencwarren
Created June 6, 2012 18:37
Show Gist options
  • Save stevencwarren/2883794 to your computer and use it in GitHub Desktop.
Save stevencwarren/2883794 to your computer and use it in GitHub Desktop.
$("a").filter(->
this.hostname && this.hostname != location.hostname
).addClass "external"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment