Skip to content

Instantly share code, notes, and snippets.

@kandran
Created November 5, 2015 06:42
Show Gist options
  • Save kandran/77a14d5ebe065566ba35 to your computer and use it in GitHub Desktop.
Save kandran/77a14d5ebe065566ba35 to your computer and use it in GitHub Desktop.
var template = document.querySelector('#helloWord');
var clone = document.importNode(template.content, true);
var host = document.querySelector('#container');
host.appendChild(clone);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment