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
24
gaia/apps/email/js/ext/worker-bootstrap.js
Executable file
24
gaia/apps/email/js/ext/worker-bootstrap.js
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
var window = self;
|
||||
|
||||
function consoleHelper() {
|
||||
var msg = arguments[0] + ':';
|
||||
for (var i = 1; i < arguments.length; i++) {
|
||||
msg += ' ' + arguments[i];
|
||||
}
|
||||
msg += '\x1b[0m\n';
|
||||
dump(msg);
|
||||
}
|
||||
window.console = {
|
||||
log: consoleHelper.bind(null, '\x1b[32mWLOG'),
|
||||
error: consoleHelper.bind(null, '\x1b[31mWERR'),
|
||||
info: consoleHelper.bind(null, '\x1b[36mWINF'),
|
||||
warn: consoleHelper.bind(null, '\x1b[33mWWAR')
|
||||
};
|
||||
|
||||
// These pragmas are for r.js and tell it to remove this code section. It will
|
||||
// be replaced with inline content after a build.
|
||||
//>>excludeStart('buildExclude', pragmas.buildExclude);
|
||||
importScripts('ext/alameda.js');
|
||||
importScripts('worker-config.js');
|
||||
require(['worker-setup']);
|
||||
//>>excludeEnd('buildExclude');
|
||||
Loading…
Reference in a new issue