Fix accidental multi-line jsdoc name
This commit is contained in:
parent
426c5edf25
commit
8644b3d163
2 changed files with 6 additions and 6 deletions
|
|
@ -160,8 +160,9 @@ const timeToRands = (t, n) => timeToRandsPrime(timeToIntSeed(t), n);
|
|||
export const run = (n) => saw.range(0, n).floor().segment(n);
|
||||
|
||||
/**
|
||||
* @name binary
|
||||
* Creates a pattern from a binary number.
|
||||
*
|
||||
* @name binary
|
||||
* @param {number} n - input number to convert to binary
|
||||
* @example
|
||||
* "hh".s().struct(binary(5))
|
||||
|
|
@ -173,8 +174,9 @@ export const binary = (n) => {
|
|||
};
|
||||
|
||||
/**
|
||||
* @name binaryN
|
||||
* Creates a pattern from a binary number, padded to n bits long.
|
||||
*
|
||||
* @name binaryN
|
||||
* @param {number} n - input number to convert to binary
|
||||
* @param {number} nBits - pattern length, defaults to 16
|
||||
* @example
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue