Skip to content

Instantly share code, notes, and snippets.

View peterchon's full-sized avatar

Peter Chon peterchon

  • PCD
  • San Diego, CA
View GitHub Profile
@peterchon
peterchon / How_to_use.html
Last active August 29, 2015 14:27 — forked from jcgregorio/How_to_use.html
HTML Templating using the HTML <template> element and exactly 100 lines of JS.
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="templating.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<template id=t>