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:
OverSu 2026-09-30 23:13:03 +02:00
commit b38dea0597
25901 changed files with 9982925 additions and 369 deletions

View file

@ -0,0 +1,34 @@
/**
* The template function for generating an UI element for a keyboard object.
*
* @module keyboard/keyboard_template
*/
define(function(require) {
'use strict';
return function kp_keyboardTemplate(keyboard, recycled) {
var container = null;
var a;
var span;
if (recycled) {
container = recycled;
a = container.querySelector('a');
span = container.querySelector('span');
} else {
container = document.createElement('li');
a = document.createElement('a');
span = document.createElement('span');
a.href = '#';
a.className = 'menu-item';
a.appendChild(span);
container.appendChild(a);
}
container.onclick = function() {
keyboard.app.launch();
};
span.textContent = keyboard.name;
return container;
};
});