Skip to content

Instantly share code, notes, and snippets.

@alykat
Created May 27, 2014 22:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save alykat/5f542da906d6f57399d0 to your computer and use it in GitHub Desktop.
Blog Post: dailygraphics pym embed
<div id="responsive-embed-my-new-graphic">
</div>
<script src="http://apps.npr.org/dailygraphics/graphics/my-new-graphic/js/lib/pym.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
var pymParent = new pym.Parent(
'responsive-embed-my-new-graphic',
'http://apps.npr.org/dailygraphics/graphics/my-new-graphic/child.html',
{}
);
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment