sickill/ascii.io — pull request #97 by AmishNinja (2013-03-15 18:50:52+00:00)
Title: Added embed link to the generated asciicast page. In the rare instance t...

We originally tried to go about embedding it in a different way, and decided to mimic the way youtube does it, i.e. via an iframe (upon right clicking a video).

Embed and copy HTML link added to asciicast page. Originally attempted to add this functionality via the web workers, but ran into issues. Instead decided to add it into the bound click function of our link, which pulls height and width from the asciicast. In the rare instance that a user clicks on that link before the asciicast movie is initialized, the height and width will come back null. It's extremely unlikely and the user would need to have some fast hands.

This should close #67.