B2G/gaia/apps/costcontrol/js/config/config_manager.js
// Part of the synchronous interface, return or set a setting.
Part of the synchronous interface, return or set a setting.
Part of the synchronous interface return or set a setting .
function syncOption(name, value) {
    var oldValue = settings[name];
    if (value === undefined) {
      return oldValue;
    }
    var update = {};
    update[name] = value;
    setOption(update);
  }
function syncOption ( name , value ) { var oldValue = settings [ name ] ; if ( value === undefined ) { return oldValue ; } var update = { } ; update [ name ] = value ; setOption ( update ) ; }
Part of the synchronous interface, return or set a setting.
Part of the synchronous interface return or set a setting .