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
17
gaia/shared/elements/gaia_pin_card/examples/example.js
Executable file
17
gaia/shared/elements/gaia_pin_card/examples/example.js
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
/* globals GaiaPinCard */
|
||||
|
||||
'use strict';
|
||||
|
||||
(function() {
|
||||
var pinCard = new GaiaPinCard();
|
||||
pinCard.background = {
|
||||
src: '../images/default_icon.png'
|
||||
};
|
||||
pinCard.title = 'Long pin title lorem ipsum lorem ipsum lorem ipsum';
|
||||
document.body.appendChild(pinCard);
|
||||
|
||||
var pinCard2 = new GaiaPinCard();
|
||||
pinCard2.title = 'Long pin title lorem ipsum lorem ipsum lorem ipsum';
|
||||
pinCard2.description = 'Long pin description lorem ipsum lorem ipsum';
|
||||
document.body.appendChild(pinCard2);
|
||||
})();
|
||||
27
gaia/shared/elements/gaia_pin_card/examples/index.html
Executable file
27
gaia/shared/elements/gaia_pin_card/examples/index.html
Executable file
|
|
@ -0,0 +1,27 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>GaiaPinCard Demo</title>
|
||||
<meta name="description" content="Demo app for gaia-menu">
|
||||
<style type="text/css">
|
||||
html,
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
body > * {
|
||||
float: left;
|
||||
margin: 1rem 1rem;
|
||||
}
|
||||
</style>
|
||||
<script src="../../../js/component_utils.js"></script>
|
||||
<script>window.GaiaPinCardBaseurl = '../';</script>
|
||||
<script src="../script.js"></script>
|
||||
<script defer src="example.js"></script>
|
||||
</head>
|
||||
<body role="application">
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in a new issue