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
31
gaia/shared/elements/gaia-site-icon/examples/basic.html
Executable file
31
gaia/shared/elements/gaia-site-icon/examples/basic.html
Executable file
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>GaiaAppIcon demo</title>
|
||||
|
||||
<script src="../script.js"></script>
|
||||
|
||||
<style>
|
||||
gaia-app-icon {
|
||||
width: 256px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<gaia-app-icon id="icon"></gaia-app-icon>
|
||||
</body>
|
||||
|
||||
<script>
|
||||
// TODO: This example doesn't work anymore, icon takes an app and uses
|
||||
// app.manifest, app.launch and navigator.mozApps.mgmt.getIcon.
|
||||
var icon = document.getElementById('icon');
|
||||
icon.manifest = {
|
||||
name: 'GaiaAppIcon test',
|
||||
origin: '',
|
||||
icons: {
|
||||
'284': 'icon.png'
|
||||
}
|
||||
};
|
||||
</script>
|
||||
</html>
|
||||
Loading…
Reference in a new issue