Vom Anderen PC aus hoch gespielt
This commit is contained in:
15
node_modules/config/raw.js
generated
vendored
Normal file
15
node_modules/config/raw.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* This is meant to wrap configuration objects that should be left as is,
|
||||
* meaning that the object or its prototype will not be modified in any way
|
||||
*/
|
||||
function RawConfig () {
|
||||
}
|
||||
|
||||
function raw(rawObj) {
|
||||
var obj = Object.create(RawConfig.prototype);
|
||||
obj.resolve = function () { return rawObj; }
|
||||
return obj;
|
||||
}
|
||||
|
||||
module.exports.RawConfig = RawConfig;
|
||||
module.exports.raw = raw;
|
||||
Reference in New Issue
Block a user