Rocky_Mountain_Vending/.pnpm-store/v10/files/6a/08b870ef422d343abedcea834cac9b7a4dc37a62dff8c0b6154f872592554922fd9869dd87b4a8263aa91805f600bd0a9c32a8cac8712a757a30e296d34078
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

19 lines
393 B
Text

import {Path} from "d3-path";
export function withPath(shape) {
let digits = 3;
shape.digits = function(_) {
if (!arguments.length) return digits;
if (_ == null) {
digits = null;
} else {
const d = Math.floor(_);
if (!(d >= 0)) throw new RangeError(`invalid digits: ${_}`);
digits = d;
}
return shape;
};
return () => new Path(digits);
}