Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
28
gaia/apps/music/components/poplar/index.html
Executable file
28
gaia/apps/music/components/poplar/index.html
Executable file
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<script src="poplar.js"></script>
|
||||
<title>poplar</title>
|
||||
</head>
|
||||
<body>
|
||||
<template>
|
||||
<a href="http://twitter.com/${meta.twitter}" data-foo="foo" data-name="${name}"/>
|
||||
<img src="http://avatars.io/twitter/${meta.twitter}?size=large" />
|
||||
<h1>hello ${name}</h1>
|
||||
</a>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
var template = document.querySelector('template');
|
||||
|
||||
var el = poplar(template.innerHTML);
|
||||
document.body.appendChild(el);
|
||||
|
||||
poplar.populate(el, {
|
||||
name: 'wilson',
|
||||
meta: { twitter: 'wilsonpage' }
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in a new issue