vendor/emmet.js
function textualDirection(direction) {
		var angle = parseFloat(direction);
		
		if(!_.isNaN(angle)) {
			switch(angle % 360) {
				case 0:   return 'left';
				case 90:  return 'bottom';
				case 180: return 'right';
				case 240: return 'top';
			}
		}
		
		return direction;
	}
function textualDirection(direction) {
		var angle = parseFloat(direction);
		
		if(!_.isNaN(angle)) {
			switch(angle % 360) {
				case 0:   return 'left';
				case 90:  return 'bottom';
				case 180: return 'right';
				case 240: return 'top';
			}
		}
		
		return direction;
	}
function textualDirection ( direction ) { var angle = parseFloat ( direction ) ; if ( ! _ . isNaN ( angle ) ) { switch ( angle % 360 ) { case 0 : return 'left' ; case 90 : return 'bottom' ; case 180 : return 'right' ; case 240 : return 'top' ; } } return direction ; }
Returns textual version of direction expressed in degrees
@param {String} direction
@returns {String}
Returns textual version of direction expressed in degrees