Closed omichelsen closed 8 years ago
fromCodePoint()
, which probably needs polyfilling (it's missing in IE + semi-old safaris).Yeah, this could be a polyfill solution: https://github.com/mathiasbynens/String.fromCodePoint
Imported Mathias' polyfill + changed the code appropriately. Mind taking it for a spin?
Finally, it seems to be missing some kind of feature-detection; the button is doing very little in Safari...
Here's a quick and dirty "copy to clipboard" button implementation.
Does not seem to work for emojiis though :-/