Skip to content

Instantly share code, notes, and snippets.

@alykat
Created May 27, 2014 22:16
Show Gist options
  • Save alykat/5f542da906d6f57399d0 to your computer and use it in GitHub Desktop.
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