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/system/test/unit/mock_lazy_loader.js
Executable file
24
gaia/apps/system/test/unit/mock_lazy_loader.js
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
'use strict';
|
||||
/* exported MockLazyLoader */
|
||||
/* XXX: Bug 1098168
|
||||
We should use shared version, however, change it is bringing
|
||||
some unit test failures to other modules who use it. */
|
||||
|
||||
var MockLazyLoader = {
|
||||
load: function(fileArray, callback) {
|
||||
if (callback) {
|
||||
callback();
|
||||
} else {
|
||||
return {
|
||||
then: function(callback) {
|
||||
callback();
|
||||
return Promise.resolve({});
|
||||
}
|
||||
};
|
||||
}
|
||||
},
|
||||
|
||||
getJSON: function(file) {
|
||||
return Promise.resolve({});
|
||||
}
|
||||
};
|
||||
Loading…
Reference in a new issue