Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
14 lines
316 B
JavaScript
Executable file
14 lines
316 B
JavaScript
Executable file
'use strict';
|
|
/* exported MockManifestHelper */
|
|
|
|
function MockManifestHelper(manifest) {
|
|
for (var prop in manifest) {
|
|
this[prop] = manifest[prop];
|
|
}
|
|
}
|
|
|
|
Object.defineProperty(MockManifestHelper.prototype, 'displayName', {
|
|
get: function displayName() {
|
|
return this.short_name || this.name;
|
|
}
|
|
});
|