B2G/gecko/browser/devtools/tilt/TiltUtils.jsm
/**
   * Returns a formatted string using the string bundle.
   * If the string bundle is not found, null is returned.
   *
   * @param {String} aName
   *                 the string name in the bundle
   * @param {Array} aArgs
   *                an array of arguments for the formatted string
   *
   * @return {String} the equivalent formatted string from the bundle
   */
Returns a formatted string using the string bundle.
If the string bundle is not found, null is returned.

@param {String} aName
the string name in the bundle
@param {Array} aArgs
an array of arguments for the formatted string

@return {String} the equivalent formatted string from the bundle
Returns a formatted string using the string bundle . If the string bundle is not found null is returned . @param { String } aName the string name in the bundle @param { Array } aArgs an array of arguments for the formatted string @return { String } the equivalent formatted string from the bundle
function TUL_format(aName, aArgs)
  {
    if (!this.stringBundle || !aName || !aArgs) {
      return null;
    }
    return this.stringBundle.formatStringFromName(aName, aArgs, aArgs.length);
  }
function TUL_format ( aName , aArgs ) { if ( ! this . stringBundle || ! aName || ! aArgs ) { return null ; } return this . stringBundle . formatStringFromName ( aName , aArgs , aArgs . length ) ; }
Returns a formatted string using the string bundle.
Returns a formatted string using the string bundle .
// check to see if the parent string bundle document element is valid