Rocky_Mountain_Vending/.pnpm-store/v10/files/87/4cf9ff0abdf38184cca623691b645b698f7b3fa5f3c8aa6704634f778d48a049d04b19008ded91cd05b82bbdce16306aacbc0fb0ebb1b9e05f88817a301972
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

17 lines
531 B
Text

import {Timer, now} from "./timer.js";
export default function(callback, delay, time) {
var t = new Timer, total = delay;
if (delay == null) return t.restart(callback, delay, time), t;
t._restart = t.restart;
t.restart = function(callback, delay, time) {
delay = +delay, time = time == null ? now() : +time;
t._restart(function tick(elapsed) {
elapsed += total;
t._restart(tick, total += delay, time);
callback(elapsed);
}, delay, time);
}
t.restart(callback, delay, time);
return t;
}