joint.all.js
function(command) {

	return _.isArray(command)

	    ? _.find(command, function(singleCmd) { return !this._validateCommand(singleCmd); }, this)

	    : this._validateCommand(command);
    }
function(command) {

	return _.isArray(command)

	    ? _.find(command, function(singleCmd) { return !this._validateCommand(singleCmd); }, this)

	    : this._validateCommand(command);
    }
function ( command ) { return _ . isArray ( command ) ? _ . find ( command , function ( singleCmd ) { return ! this . _validateCommand ( singleCmd ) ; } , this ) : this . _validateCommand ( command ) ; }
iterates throught each command, stops on first invalid command.
iterates throught each command stops on first invalid command .