Skip to content

Instantly share code, notes, and snippets.

View trknov's full-sized avatar
😀
Amazing

Ruslan trknov

😀
Amazing
View GitHub Profile
/**
*
* Here's a thing that will look through all the text nodes of a document, and
* upon encountering an emoji codepoint, will replace it with an image.
* For now, those images are pulled from GitHub, which isn't very nice, so I
* need to find a more suitable host.
*
* Much of this code was gleaned from staring at the minified GitHub JS.
*
* Copyright (c) 2013 Mark Wunsch. Licensed under the MIT License.