From b1f73bbbdae58851273906acfbfe29bf0bfe6296 Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Thu, 31 Aug 2023 19:23:29 +0200 Subject: [PATCH] fix function naming --- src/API.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/API.ts b/src/API.ts index b728ef8..d57d981 100644 --- a/src/API.ts +++ b/src/API.ts @@ -939,7 +939,7 @@ export class UserAPI { const results: boolean[] = n.map((value) => this.app.clock.pulses_since_origin % value === 0); return results.some((value) => value === true); }; - pmod = this.modpulse; + modp = this.modpulse; public modbar = (...n: number[]): boolean => { const results: boolean[] = n.map( @@ -947,7 +947,7 @@ export class UserAPI { ); return results.some((value) => value === true); }; - bmod = this.modbar; + modb = this.modbar; public div = (chunk: number): boolean => { const time_pos = this.app.clock.pulses_since_origin;