Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
32 lines
469 B
JavaScript
Executable file
32 lines
469 B
JavaScript
Executable file
|
|
'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'
|
|
}
|
|
|
|
};
|