2016-11-05 17:02:46 +01:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
2016-11-13 15:41:35 +01:00
|
|
|
module.exports = () => {
|
|
|
|
const _features = [];
|
|
|
|
return {
|
|
|
|
getFeatures: () => Promise.resolve(_features),
|
|
|
|
addFeature: (feature) => _features.push(feature),
|
|
|
|
};
|
2016-11-05 17:02:46 +01:00
|
|
|
};
|