lib/settings.js
function(key, data) {
        var currentData;
        currentData = settings[key] || {};
        settings[key] = _.extend(currentData, data);
      }
function(key, data) {
        var currentData;
        currentData = settings[key] || {};
        settings[key] = _.extend(currentData, data);
      }
function ( key , data ) { var currentData ; currentData = settings [ key ] || { } ; settings [ key ] = _ . extend ( currentData , data ) ; }
Merge a setting using underscore's extend.
Only useful if the setting is an object

@function merge
@param {String} key     The setting name
@param {Mixed}  data    The setting value

@return None
Merge a setting using underscore s extend . Only useful if the setting is an object