UNPKG
jingtum-lib-gm
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
jingtum lib
jingtum-lib-gm
/
lib
/
config.js
11 lines
(8 loc)
•
221 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
// This object serves as a singleton to store config options
var
extend =
require
(
'extend'
);
var
config =
module
.
exports
= {
load
:
function
(
newOpts
) {
extend
(config, newOpts);
return
config; } };