forked from olcxjas-softworks/LarpixClient
Update gitignore (sorry)
This commit is contained in:
parent
a8f8c4d7ad
commit
cca8b02fea
6604 changed files with 1219661 additions and 4 deletions
13
electron/node_modules/defaults/index.js
generated
vendored
Normal file
13
electron/node_modules/defaults/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
var clone = require('clone');
|
||||
|
||||
module.exports = function(options, defaults) {
|
||||
options = options || {};
|
||||
|
||||
Object.keys(defaults).forEach(function(key) {
|
||||
if (typeof options[key] === 'undefined') {
|
||||
options[key] = clone(defaults[key]);
|
||||
}
|
||||
});
|
||||
|
||||
return options;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue