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
90
gaia/apps/email/js/ext/worker-config.js
Executable file
90
gaia/apps/email/js/ext/worker-config.js
Executable file
|
|
@ -0,0 +1,90 @@
|
|||
/*global require, setTimeout */
|
||||
// Note: No AMD module here since this file configures RequireJS.
|
||||
(function(root) {
|
||||
'use strict';
|
||||
|
||||
requirejs.config({
|
||||
baseUrl: '.',
|
||||
packages: [{
|
||||
name: 'wo-imap-handler',
|
||||
location: 'ext/imap-handler/src',
|
||||
main: 'imap-handler'
|
||||
}],
|
||||
|
||||
map: {
|
||||
'browserbox': {
|
||||
'axe': 'axeshim-browserbox'
|
||||
},
|
||||
'browserbox-imap': {
|
||||
'axe': 'axeshim-browserbox'
|
||||
},
|
||||
'ext/smtpclient': {
|
||||
'axe': 'axeshim-smtpclient'
|
||||
},
|
||||
},
|
||||
|
||||
paths: {
|
||||
// Configure any manual paths here:
|
||||
'bleach': 'ext/bleach.js/lib/bleach',
|
||||
'imap-formal-syntax': 'ext/imap-handler/src/imap-formal-syntax',
|
||||
'smtpclient-response-parser':
|
||||
'ext/smtpclient/src/smtpclient-response-parser',
|
||||
'tests': '../test/unit',
|
||||
'wbxml': 'ext/activesync-lib/wbxml/wbxml',
|
||||
'activesync/codepages': 'ext/activesync-lib/codepages',
|
||||
'activesync/protocol': 'ext/activesync-lib/protocol',
|
||||
|
||||
// This lists every top-level module in GELAM/js/ext.
|
||||
// CAUTION: It is automatically updated during the build step;
|
||||
// don't change or your edits will be as sticky as a dusty post-it.
|
||||
// If you see changes here because you modified our deps, commit it!
|
||||
// <gelam-ext>
|
||||
'activesync-lib': 'ext/activesync-lib',
|
||||
'addressparser': 'ext/addressparser',
|
||||
'alameda': 'ext/alameda',
|
||||
'axe': 'ext/axe',
|
||||
'axe-logger': 'ext/axe-logger',
|
||||
'axeshim-browserbox': 'ext/axeshim-browserbox',
|
||||
'axeshim-smtpclient': 'ext/axeshim-smtpclient',
|
||||
'bleach.js': 'ext/bleach.js',
|
||||
'browserbox': 'ext/browserbox',
|
||||
'browserbox-imap': 'ext/browserbox-imap',
|
||||
'co': 'ext/co',
|
||||
'equal': 'ext/equal',
|
||||
'evt': 'ext/evt',
|
||||
'imap-handler': 'ext/imap-handler',
|
||||
'mailbuild': 'ext/mailbuild',
|
||||
'md5': 'ext/md5',
|
||||
'mimefuncs': 'ext/mimefuncs',
|
||||
'mimeparser': 'ext/mimeparser',
|
||||
'mimeparser-tzabbr': 'ext/mimeparser-tzabbr',
|
||||
'mimetypes': 'ext/mimetypes',
|
||||
'mix': 'ext/mix',
|
||||
'punycode': 'ext/punycode',
|
||||
'safe-base64': 'ext/safe-base64',
|
||||
'smtpclient': 'ext/smtpclient',
|
||||
'stringencoding': 'ext/stringencoding',
|
||||
'tcp-socket': 'ext/tcp-socket',
|
||||
'utf7': 'ext/utf7',
|
||||
'wo-utf7': 'ext/wo-utf7'
|
||||
// </gelam-ext>
|
||||
},
|
||||
// Timeouts are mostly to detect 404 errors, however, there are erorrs
|
||||
// generated in the logs in those cases, so the main concern is slow
|
||||
// devices taking a while/email app competing with other apps for time,
|
||||
// so set this to zero always.
|
||||
waitSeconds: 0
|
||||
});
|
||||
|
||||
// Allow baseUrl override for things like tests
|
||||
if (typeof gelamWorkerBaseUrl === 'string') {
|
||||
requirejs.config({
|
||||
baseUrl: gelamWorkerBaseUrl
|
||||
});
|
||||
}
|
||||
|
||||
// Install super-simple shims here.
|
||||
root.setZeroTimeout = function(fn) {
|
||||
setTimeout(function() { fn(); }, 0);
|
||||
};
|
||||
})(this);
|
||||
Loading…
Reference in a new issue