function CardKit(configuration) {
	    var options = arguments.length <= 1 || arguments[1] === undefined ? false : arguments[1];

	    _classCallCheck(this, CardKit);

	    if (!configuration) {
	      throw new Error('A configuration object was not provided');
	    }

	    if (!this._isValidConfiguration(configuration)) {
	      throw new Error('Invalid configuration object provided');
	    }

	    // Store the configuration
	    this.configuration = configuration;

	    // Configure the options
	    this._configureOptions(options);

	    // Setup an empty array of renderers
	    this.renderers = [];
	  }
/**
	   * Constructor takes in the configuration and stores it for later user
	   *
	   * @param {object} configuration - The configuration object to initialise the CardKit image with.
	   * @param {object} options - The additional options for use
	   */
Constructor takes in the configuration and stores it for later user
@param {object} configuration - The configuration object to initialise the CardKit image with.
@param {object} options - The additional options for use
Constructor takes in the configuration and stores it for later user @param { object } configuration - The configuration object to initialise the CardKit image with . @param { object } options - The additional options for use
function CardKit(configuration) {
	    var options = arguments.length <= 1 || arguments[1] === undefined ? false : arguments[1];
	    _classCallCheck(this, CardKit);
	    if (!configuration) {
	      throw new Error('A configuration object was not provided');
	    }
	    if (!this._isValidConfiguration(configuration)) {
	      throw new Error('Invalid configuration object provided');
	    }
	    this.configuration = configuration;
	    this._configureOptions(options);
	    this.renderers = [];
	  }
function CardKit ( configuration ) { var options = arguments . length <= 1 || arguments [ 1 ] === undefined ? false : arguments [ 1 ] ; _classCallCheck ( this , CardKit ) ; if ( ! configuration ) { throw new Error ( 'A configuration object was not provided' ) ; } if ( ! this . _isValidConfiguration ( configuration ) ) { throw new Error ( 'Invalid configuration object provided' ) ; } this . configuration = configuration ; this . _configureOptions ( options ) ; this . renderers = [ ] ; }
Constructor takes in the configuration and stores it for later user
 @param {object} configuration - The configuration object to initialise the CardKit image with.
Constructor takes in the configuration and stores it for later user @param { object } configuration - The configuration object to initialise the CardKit image with .
// Store the configuration // Configure the options // Setup an empty array of renderers