Skip to content

Instantly share code, notes, and snippets.

@rianby64
Last active March 14, 2017 11:37
Show Gist options
  • Save rianby64/fb7f9d147ade5436402a2ebf232856be to your computer and use it in GitHub Desktop.
Save rianby64/fb7f9d147ade5436402a2ebf232856be to your computer and use it in GitHub Desktop.
A simple template
<!doctype html>
<div>
Here's the template for my-custom-element
</div>
<script>
fetch('https://gist.githubusercontent.com/rianby64/e2a3ebad701b12552938b649655567f8/raw/myjson.json').then(response => response.json()).then(json => {
console.log(json);
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment