B2G/gecko/toolkit/mozapps/extensions/XPIProvider.jsm
/**
   * Gets an integer preference.
   *
   * @param  aName
   *         The name of the preference
   * @param  defaultValue
   *         A value to return if the preference does not exist
   * @return the value of the preference or defaultValue if there is none
   */
Gets an integer preference.
@param  aName
The name of the preference
@param  defaultValue
A value to return if the preference does not exist
@return the value of the preference or defaultValue if there is none
Gets an integer preference . @param aName The name of the preference @param defaultValue A value to return if the preference does not exist @return the value of the preference or defaultValue if there is none
function Prefs_getIntPref(aName, defaultValue) {
    try {
      return Services.prefs.getIntPref(aName);
    }
    catch (e) {
    }
    return defaultValue;
  }
function Prefs_getIntPref ( aName , defaultValue ) { try { return Services . prefs . getIntPref ( aName ) ; } catch ( e ) { } return defaultValue ; }
Gets an integer preference.
Gets an integer preference .