Skip to content

Instantly share code, notes, and snippets.

@neatnick
Created October 21, 2016 22:17
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 neatnick/56ba877efa86a5d7766ab37a0342774a to your computer and use it in GitHub Desktop.
Save neatnick/56ba877efa86a5d7766ab37a0342774a to your computer and use it in GitHub Desktop.
Halloween Spirit
$("h1, h2, h3, h4, span, p").text(function(index, text){ return text.replace(/o/ig, "🎃").replace(/a/ig, "💀"); });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment