function runCallback(callbackName) {
		/*
  	Checks to see if a user defined a callback method for the
  	callback we are running.
  */
		if (_config2.default.callbacks[callbackName]) {
			/*
   	Build the callback function
   */
			var callbackFunction = _config2.default.callbacks[callbackName];

			/*
   	Write a debug message stating the callback we are running
   */
			writeDebugMessage('Running Callback: ' + callbackName);

			/*
   	Run the callback function and catch any errors
   */
			try {
				callbackFunction();
			} catch (error) {
				if (error.message == "CANCEL EVENT") {
					throw error;
				} else {
					writeDebugMessage('Callback error: ' + error.message);
				}
			}
		}
	}
/**
  * Runs a user defined callback method
  *
  * Public Accessor: AmplitudeHelpers.runCallback( callbackName )
  *
  * @access public
  * @param {string} callbackName - The name of the callback we are going to run.
  */
Runs a user defined callback method
Public Accessor: AmplitudeHelpers.runCallback( callbackName )

@access public
@param {string} callbackName - The name of the callback we are going to run.
Runs a user defined callback method Public Accessor : AmplitudeHelpers . runCallback ( callbackName ) @access public @param { string } callbackName - The name of the callback we are going to run .
function runCallback(callbackName) {
		if (_config2.default.callbacks[callbackName]) {
			var callbackFunction = _config2.default.callbacks[callbackName];
			writeDebugMessage('Running Callback: ' + callbackName);
			try {
				callbackFunction();
			} catch (error) {
				if (error.message == "CANCEL EVENT") {
					throw error;
				} else {
					writeDebugMessage('Callback error: ' + error.message);
				}
			}
		}
	}
function runCallback ( callbackName ) { if ( _config2 . default . callbacks [ callbackName ] ) { var callbackFunction = _config2 . default . callbacks [ callbackName ] ; writeDebugMessage ( 'Running Callback: ' + callbackName ) ; try { callbackFunction ( ) ; } catch ( error ) { if ( error . message == "CANCEL EVENT" ) { throw error ; } else { writeDebugMessage ( 'Callback error: ' + error . message ) ; } } } }
Runs a user defined callback method
 Public Accessor: AmplitudeHelpers.runCallback( callbackName )
Runs a user defined callback method Public Accessor : AmplitudeHelpers . runCallback ( callbackName )
/*
  	Checks to see if a user defined a callback method for the
  	callback we are running.
  */ /*
   	Build the callback function
   */ /*
   	Write a debug message stating the callback we are running
   */ /*
   	Run the callback function and catch any errors
   */