Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
15 lines
272 B
JavaScript
Executable file
15 lines
272 B
JavaScript
Executable file
'use strict';
|
|
|
|
/* globals Promise */
|
|
|
|
var MockMultiContact = {
|
|
_data: Object.create(null),
|
|
|
|
getData: function(entry) {
|
|
return new Promise(function(resolve, reject) {
|
|
var id = entry.entryData[0].uid;
|
|
|
|
resolve(MockMultiContact._data[id]);
|
|
});
|
|
}
|
|
};
|