Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
28 lines
532 B
JavaScript
Executable file
28 lines
532 B
JavaScript
Executable file
/* global define */
|
|
define(function() {
|
|
'use strict';
|
|
|
|
var ctor = {
|
|
mUnlocked: false,
|
|
|
|
unlockBlob: function(secret, blob, callback) {
|
|
callback(this.mUnlocked);
|
|
},
|
|
mSetupUnlocked: function(value) {
|
|
this.mUnlocked = value;
|
|
},
|
|
get mimeSubtype() {
|
|
return this.mockMimeSubtype;
|
|
},
|
|
mSetupMimeSubtype: function(value) {
|
|
this.mockMimeSubtype = value;
|
|
},
|
|
getKey: function(callback) {
|
|
callback();
|
|
},
|
|
getOrCreateKey: function() {
|
|
}
|
|
};
|
|
|
|
return ctor;
|
|
});
|