lib/devour.js
function register(type, name, create) {
		if (!(type in definitions)) {
			definitions[type] = {};
		}

		if (type === 'pipe') {
			create = chain(create, devour);
		}

		definitions[type][name] = create;
	}
function register(type, name, create) {
		if (!(type in definitions)) {
			definitions[type] = {};
		}

		if (type === 'pipe') {
			create = chain(create, devour);
		}

		definitions[type][name] = create;
	}
function register ( type , name , create ) { if ( ! ( type in definitions ) ) { definitions [ type ] = { } ; } if ( type === 'pipe' ) { create = chain ( create , devour ) ; } definitions [ type ] [ name ] = create ; }
Register a task or pipe
@name    resgister
@access  internal
@param   string type [accepts any value, actual values: 'task' or 'pipe']
@param   string name
@param   function create
@return  void
Register a task or pipe