| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 1× 1× 1× 1× 1× | 'use strict';
/**
* Represents a strategy that that returns an empty object (pre loading).
*
* @class
*/
function NullConfigStrategy (nullObject) {
this.nullObject = nullObject;
}
NullConfigStrategy.prototype.process = function (callback) {
callback(null, this.nullObject);
};
module.exports = NullConfigStrategy;
|