Skip to content

Instantly share code, notes, and snippets.

@frankiefu
Created March 4, 2015 22:16
Show Gist options
  • Save frankiefu/b0cd3979b28cb86eac5e to your computer and use it in GitHub Desktop.
Save frankiefu/b0cd3979b28cb86eac5e to your computer and use it in GitHub Desktop.
<!doctype html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<script src="../../../neoprene/components/webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../../../neoprene/components/polymer/polymer.html">
</head>
<body>
<template is="x-repeat" id="t">
<div>[[item.name]]</div>
</template>
<script>
var t = document.querySelector('#t');
t.items = [{name: 'foo'}, {name: 'bar'}, {name: 'zot'}];
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment