text: 'use strict';
  
  // MODULES //
  
  var isArray = require( 'validate.io-array' );
  
  
  // FORMAT DATA //
  
  /**
  * FUNCTION: formatData( data )
  *	Converts data to standard representation. Needed for non-deterministic accessors.
  *
  * @param {Array[]} data - array of arrays
  * @returns {Array[]} data - array of arrays
  */
  function formatData( data ) {
  	/* jshint validthis:true */
  	var xValue = this.xValue,
  		yValue = this.yValue,
  		alphaValue = this.alphaValue,
  		len,
  		out,
  		err,
  		i;
  
  	if ( !isArray( data ) ) {
  		err = new TypeError( 'formatData()::invalid input argument. Must provide an array. Value: `' + data + '`.' );
  		this.fire( 'err', err );
  		return;
  	}
  	len = data.length;
  	out = new Array( len );
  	for ( i = 0; i < len; i++ ) {
  		out[ i ] =  {
  			'x': xValue( data[ i ] ),
  			'y': yValue( data[ i ] ),
  			'alpha': alphaValue( data[ i ] )
  		};
  	}
  	return out;
  } // end FUNCTION formatData()
  
  
  // EXPORTS //
  
  module.exports = formatData;
  