function generateThrowingMethodStub(messagePrefix, opt_messageSuffix) {
  var message = messagePrefix + ' is not available in packaged apps.';
  if (opt_messageSuffix) message = message + ' ' + opt_messageSuffix;
  return function() {
    throw new Error(message);
  };
}
/**
 * Returns a function that throws a 'not available' error.
 *
 * @param {string} messagePrefix text to prepend to the exception message.
 */
Returns a function that throws a 'not available' error.
@param {string} messagePrefix text to prepend to the exception message.
Returns a function that throws a ' not available ' error . @param { string } messagePrefix text to prepend to the exception message .
function generateThrowingMethodStub(messagePrefix, opt_messageSuffix) {
  var message = messagePrefix + ' is not available in packaged apps.';
  if (opt_messageSuffix) message = message + ' ' + opt_messageSuffix;
  return function() {
    throw new Error(message);
  };
}
function generateThrowingMethodStub ( messagePrefix , opt_messageSuffix ) { var message = messagePrefix + ' is not available in packaged apps.' ; if ( opt_messageSuffix ) message = message + ' ' + opt_messageSuffix ; return function ( ) { throw new Error ( message ) ; } ; }
Returns a function that throws a 'not available' error.
Returns a function that throws a ' not available ' error .