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,35 @@
'use strict';
/*global Map, Template*/
/*exported SharedComponents */
(function(exports) {
var cachedTemplates = new Map();
var getTemplate = function(id) {
if (!cachedTemplates.has(id)) {
cachedTemplates.set(id, Template(id));
}
return cachedTemplates.get(id);
};
var SharedComponents = {
phoneDetails: function(details, interpolationOptions) {
if (!details) {
throw new Error('Phone details are required!');
}
return getTemplate('phone-details-tmpl').prepare({
type: details.type || '',
number: details.number || '',
carrier: details.carrier || '',
hasTypeClass: !!details.type ? 'has-phone-type' : '',
hasCarrierClass: !!details.carrier ? 'has-phone-carrier' : ''
}, interpolationOptions);
}
};
exports.SharedComponents = SharedComponents;
})(window);