code: function( useComputed ) {
  			if ( useComputed ) {
  				return this.getComputedStyle( 'direction' ) ||
  						this.getDirection() ||
  						this.getParent() && this.getParent().getDirection( 1 ) ||
  						this.getDocument().$.dir ||
  						'ltr';
  			}
  			else {
  				return this.getStyle( 'direction' ) || this.getAttribute( 'dir' );
  			}
  		}
docs: Gets element's direction. Supports both CSS `direction` prop and `dir` attr.