code: function getMiddlewareNames(route) {
  		var middleware = getRouteMiddleware(route);
  
  		// If the middleware is an array, just return it
  		if ( middleware instanceof Array ) {
  			return middleware;
  		}
  
  		// If there is no middleware, then return an empty array
  		if ( typeof middleware === 'undefined' ) {
  			return [];
  		}
  
  		// Otherwise, split the pipes & return an array
  		return middleware.split('|');
  	}
docs: Get the middleware names
  from an array or a piped string
  
  @param   {object} route
  @returns {array}