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
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Test Activity Caller App</title>
|
||||
<script defer src="/js/index.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div>Test Activity Caller App</div>
|
||||
<button id="open-activity">Open Activity</button>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
/* global MozActivity */
|
||||
(function(window) {
|
||||
'use strict';
|
||||
|
||||
window.addEventListener('DOMContentLoaded', function() {
|
||||
var openActivityButton = document.getElementById('open-activity');
|
||||
|
||||
openActivityButton.addEventListener('click', function() {
|
||||
var activity = new MozActivity({
|
||||
name: 'pick',
|
||||
data: {
|
||||
type: 'x-type/*'
|
||||
}
|
||||
});
|
||||
|
||||
activity.onerror = function() {
|
||||
console.warn('Pick activity error %s', activity.error.name);
|
||||
};
|
||||
});
|
||||
});
|
||||
})(window);
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"name": "Test Activity Caller App",
|
||||
"description": "Test Activity Caller App",
|
||||
"type": "certified",
|
||||
"launch_path": "/index.html"
|
||||
}
|
||||
Loading…
Reference in a new issue