src/geometry.js
function(ratio) {

        var dividerPoint = this.pointAt(ratio);

        // return array with two new lines
        return [
            new Line(this.start, dividerPoint),
            new Line(dividerPoint, this.end)
        ];
    }
function(ratio) {

        var dividerPoint = this.pointAt(ratio);

        // return array with two new lines
        return [
            new Line(this.start, dividerPoint),
            new Line(dividerPoint, this.end)
        ];
    }
function ( ratio ) { var dividerPoint = this . pointAt ( ratio ) ; // return array with two new lines return [ new Line ( this . start , dividerPoint ) , new Line ( dividerPoint , this . end ) ] ; }
Divides the line into two at requested `ratio` between 0 and 1.
Divides the line into two at requested ratio between 0 and 1 .