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
12
gaia/tv_apps/smart-system/test/apps/modaldialogapp/index.html
Executable file
12
gaia/tv_apps/smart-system/test/apps/modaldialogapp/index.html
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Fake App Modal Dialog</title>
|
||||
<script defer src="modaldialog.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
11
gaia/tv_apps/smart-system/test/apps/modaldialogapp/manifest.webapp
Executable file
11
gaia/tv_apps/smart-system/test/apps/modaldialogapp/manifest.webapp
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"name": ">>> Modal Dialog <<<",
|
||||
"description": "App used to test modal dialogs",
|
||||
"type": "privileged",
|
||||
"launch_path": "/index.html",
|
||||
"fullscreen": true,
|
||||
"developer": {
|
||||
"name": "The Gaia Team",
|
||||
"url": "https://github.com/mozilla-b2g/gaia"
|
||||
}
|
||||
}
|
||||
18
gaia/tv_apps/smart-system/test/apps/modaldialogapp/modaldialog.js
Executable file
18
gaia/tv_apps/smart-system/test/apps/modaldialogapp/modaldialog.js
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
/* exported showDialog */
|
||||
'use strict';
|
||||
|
||||
function showDialog(type, message) {
|
||||
setTimeout(function() {
|
||||
switch(type) {
|
||||
case 'alert':
|
||||
alert(message);
|
||||
break;
|
||||
case 'prompt':
|
||||
prompt(message);
|
||||
break;
|
||||
case 'confirm':
|
||||
confirm(message);
|
||||
break;
|
||||
}
|
||||
}, 1000);
|
||||
}
|
||||
Loading…
Reference in a new issue