This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (someConditionIsTrueFromQueryString) { | |
require(['testmain'], function () { | |
require(['test'], function (test) { | |
}); | |
}); | |
} else { | |
require(['test'], function (test) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
requirejs.config({ | |
map: { | |
'*': { | |
'jquery': 'jquery-adapter' | |
}, | |
'jquery-adapter': { | |
'jquery': 'jquery' | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
onCreate: { | |
run: [ | |
'git submodule init', | |
'git submodule update' | |
] | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Generated with a build that does: | |
main: | |
include: ["almond", "event-queue", "mailapi/same-frame-setup"] | |
account: | |
exclude: ['event-queue', 'mailapi/same-frame-setup'] | |
include: ['mailapi/activesync/account'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[~/git/gaia-email-libs-and-more-jrburke(onlinedelay)]$ make clean | |
rm -rf data/deps | |
rm -rf node-transformed-deps | |
[~/git/gaia-email-libs-and-more-jrburke(onlinedelay)]$ make all-tests | |
mkdir -p node-transformed-deps | |
rsync -avL node-deps/addressparser node-transformed-deps | |
building file list ... done | |
addressparser/ | |
addressparser/.git | |
addressparser/.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/apps/email/js/ext/mailapi/activesync/configurator.js b/apps/email/js/ext/mailapi/activesync/configurator.js | |
index 38d7a5a..69fe6cb 100644 | |
--- a/apps/email/js/ext/mailapi/activesync/configurator.js | |
+++ b/apps/email/js/ext/mailapi/activesync/configurator.js | |
@@ -2931,8 +2931,12 @@ ActiveSyncAccount.prototype = { | |
}); | |
} | |
else { // ActiveSync 12.x and lower | |
+ var encoder = new TextEncoder('UTF-8'); | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<6>[ 0.000000] Booting Linux on physical CPU 0 | |
<6>[ 0.000000] Initializing cgroup subsys cpu | |
<5>[ 0.000000] Linux version 3.0.21-perf-ga969f85-00004-gda485a1 (android-bld@aclgcl-ubnt72) (gcc version 4.4.3 (GCC) ) #1 SMP PREEMPT Thu Jun 27 22:09:07 CST 2013 | |
<4>[ 0.000000] CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c5387d | |
<4>[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache | |
<4>[ 0.000000] Machine: QCT MSM7x27a FFA | |
<6>[ 0.000000] Partition (from atag) boot -- Offset:28f Size:30 | |
<6>[ 0.000000] Partition (from atag) system -- Offset:2bf Size:640 | |
<6>[ 0.000000] Partition (from atag) cache -- Offset:8ff Size:140 | |
<6>[ 0.000000] Partition (from atag) misc -- Offset:a3f Size:20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker.postMessage({ | |
type: 'cronsync', | |
uid: undefined, | |
cmd: 'alarm', | |
args: ['accountidhere', intervaltime] | |
}); | |
//example call | |
worker.postMessage({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/apps/clock/Makefile b/apps/clock/Makefile | |
index e17f42e..78e8465 100644 | |
--- a/apps/clock/Makefile | |
+++ b/apps/clock/Makefile | |
@@ -1,9 +1,16 @@ | |
-# We can't figure out XULRUNNERSDK on our own; it's complex and some builders | |
-# may want to override our find logic (ex: TBPL), so let's just leave it up to | |
-# the root Makefile. If you know what you're doing, you can manually define | |
-# XULRUNNERSDK and XPCSHELLSDK on the command line. | |
-ifndef XPCSHELLSDK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//******************************************* | |
// Level 1, basic API, minimum support | |
//******************************************* | |
/* | |
Modules IDs are strings that follow CommonJS | |
module names. | |
*/ | |
//To load code at the top level JS file, | |
//or inside a module to dynamically fetch |