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
32
gaia/apps/settings/test/unit/mock_download_ui.js
Executable file
32
gaia/apps/settings/test/unit/mock_download_ui.js
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
/* exported MockDownloadUI */
|
||||
var MockDownloadUI = {
|
||||
|
||||
show: function() {
|
||||
return {
|
||||
set onconfirm(cb) {cb();},
|
||||
get onconfirm() {return;}
|
||||
};
|
||||
},
|
||||
|
||||
showActions: function() {
|
||||
return {
|
||||
set onconfirm(cb) {cb();},
|
||||
get onconfirm() {return;},
|
||||
get result() {
|
||||
return {
|
||||
name: 'open'
|
||||
};
|
||||
},
|
||||
set result(value) {}
|
||||
};
|
||||
},
|
||||
|
||||
TYPE: {
|
||||
STOP: 'stop',
|
||||
STOPPED: 'stopped'
|
||||
}
|
||||
|
||||
};
|
||||
Loading…
Reference in a new issue