Skip to content

Instantly share code, notes, and snippets.

@andymason
Last active August 29, 2015 14:22
Show Gist options
  • Save andymason/f47646998dea500409a4 to your computer and use it in GitHub Desktop.
Save andymason/f47646998dea500409a4 to your computer and use it in GitHub Desktop.
define([], function() {
// Test more
// now more
return {
boot: function(el) {
console.log('test');
console.log('test');
var wrapper = document.querySelector('figure');
wrapper.innerHTML = '<link href="http://interactive.guim.co.uk/2015/jun/magnacarta/css/style.css" type="text/css" rel="stylesheet" /><div id="playground"><div id="langtoggle"><a class="chooser" id="english" title="english">English</a> | <a class="chooser selected" id="latin" title="latin">Latin</a> | <a class="chooser" id="commentary" title="commentary">Commentary</a></div><div id="manuscript"><img src="http://interactive.guim.co.uk/2015/jun/magnacarta/img/full.jpg" width="100%" border="0"/></div><div id="rawtext"></div></div><div id="lightbox"></div><div id="manuscriptoverlay"></div><script src="http://interactive.guim.co.uk/2015/jun/magnacarta/js/play.js"></script>';
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment