fix function naming

This commit is contained in:
2023-08-31 19:23:29 +02:00
parent 323c6821d3
commit b1f73bbbda

View File

@ -939,7 +939,7 @@ export class UserAPI {
const results: boolean[] = n.map((value) => this.app.clock.pulses_since_origin % value === 0); const results: boolean[] = n.map((value) => this.app.clock.pulses_since_origin % value === 0);
return results.some((value) => value === true); return results.some((value) => value === true);
}; };
pmod = this.modpulse; modp = this.modpulse;
public modbar = (...n: number[]): boolean => { public modbar = (...n: number[]): boolean => {
const results: boolean[] = n.map( const results: boolean[] = n.map(
@ -947,7 +947,7 @@ export class UserAPI {
); );
return results.some((value) => value === true); return results.some((value) => value === true);
}; };
bmod = this.modbar; modb = this.modbar;
public div = (chunk: number): boolean => { public div = (chunk: number): boolean => {
const time_pos = this.app.clock.pulses_since_origin; const time_pos = this.app.clock.pulses_since_origin;