Searched refs:startDirection (Results 1 – 1 of 1) sorted by relevance
52683 function needsTurn(orientation, startDirection) { argument52691 }[startDirection].test(orientation);52708 var startDirection = directions.split(':')[0];52715 var layoutStraight = canLayoutStraight(startDirection, orientation),52716 layoutHorizontal = /h|r|l/.test(startDirection),52726 layoutTurn = needsTurn(orientation, startDirection);52736 x: a.x + MIN_SEGMENT_LENGTH * (/l/.test(startDirection) ? -1 : 1),52744 y: a.y + MIN_SEGMENT_LENGTH * (/t/.test(startDirection) ? -1 : 1)52779 var startDirection = startSegment.directions.split(':')[1],52783 startDirection = startDirection == 'h' ? 'v' : 'h';[all …]