build/browser/index.js
/**
     * Computes the number of posts to build a fence from the number of segments.
     * @hidden
     */
Computes the number of posts to build a fence from the number of segments.
@hidden
Computes the number of posts to build a fence from the number of segments . @hidden
function numPostsForFence(segmentCount, closed) {
        mustBeInteger('segmentCount', segmentCount);
        mustBeGE('segmentCount', segmentCount, 0);
        mustBeBoolean('closed', closed);
        return closed ? segmentCount : segmentCount + 1;
    }
function numPostsForFence ( segmentCount , closed ) { mustBeInteger ( 'segmentCount' , segmentCount ) ; mustBeGE ( 'segmentCount' , segmentCount , 0 ) ; mustBeBoolean ( 'closed' , closed ) ; return closed ? segmentCount : segmentCount + 1 ; }
Computes the number of posts to build a fence from the number of segments.
Computes the number of posts to build a fence from the number of segments .