lib/settings.js
function(key, data) {
        var currentData;
        currentData = settings[key];
        if ((currentData != null) && _.isObject(currentData)) {
          settings[key] = _.extend(data, settings[key]);
        } else if (currentData == null) {
          settings[key] = data;
        }
      }
function(key, data) {
        var currentData;
        currentData = settings[key];
        if ((currentData != null) && _.isObject(currentData)) {
          settings[key] = _.extend(data, settings[key]);
        } else if (currentData == null) {
          settings[key] = data;
        }
      }
function ( key , data ) { var currentData ; currentData = settings [ key ] ; if ( ( currentData != null ) && _ . isObject ( currentData ) ) { settings [ key ] = _ . extend ( data , settings [ key ] ) ; } else if ( currentData == null ) { settings [ key ] = data ; } }
Used to initially set a setttings value.
Convenient for settings defaults that wont overwrite already set actual values

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

@return None
Used to initially set a setttings value . Convenient for settings defaults that wont overwrite already set actual values