Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function (file) {
- var fs = require('fs'),
- _ = require('underscore');
- if (fs.existsSync(file)) {
- _.mixin({
- deepExtend: require('underscore-deep-extend')(_)
- });
- _.deepExtend(elixir.config, JSON.parse(fs.readFileSync(file, 'utf8')));
- }
- })('config.json');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement