torso-bundle.js
function(updateEventConfiguration) {
      var validStringConfig = _.isString(updateEventConfiguration);
      var validObjectConfig = _.isObject(updateEventConfiguration) && _.keys(updateEventConfiguration).length > 0;
      if (!validStringConfig && !validObjectConfig) {
        throw new Error('Not a valid updateEvent configuration.  Update events need to either be strings or objects with a single property: ' + JSON.stringify(updateEventConfiguration));
      }
    }
function(updateEventConfiguration) {
      var validStringConfig = _.isString(updateEventConfiguration);
      var validObjectConfig = _.isObject(updateEventConfiguration) && _.keys(updateEventConfiguration).length > 0;
      if (!validStringConfig && !validObjectConfig) {
        throw new Error('Not a valid updateEvent configuration.  Update events need to either be strings or objects with a single property: ' + JSON.stringify(updateEventConfiguration));
      }
    }
function ( updateEventConfiguration ) { var validStringConfig = _ . isString ( updateEventConfiguration ) ; var validObjectConfig = _ . isObject ( updateEventConfiguration ) && _ . keys ( updateEventConfiguration ) . length > 0 ; if ( ! validStringConfig && ! validObjectConfig ) { throw new Error ( 'Not a valid updateEvent configuration.  Update events need to either be strings or objects with a single property: ' + JSON . stringify ( updateEventConfiguration ) ) ; } }
Validates that the updateEventConfiguration is valid and if not throws an error describing why its not valid.
@method __normalizeAndValidateIds
@private
Validates that the updateEventConfiguration is valid and if not throws an error describing why its not valid .