@symbo.ls/scratch
Advanced tools
Comparing version
@@ -1037,5 +1037,5 @@ "use strict"; | ||
}; | ||
var generateSequencePosition = (sequenceProps, position) => { | ||
var generateSequencePosition = (sequenceProps, position = 0) => { | ||
const { type, base, ratio, subSequence } = sequenceProps; | ||
const letterKey = numToLetterMap[position]; | ||
const letterKey = (void 0).call("isString", position) ? position : numToLetterMap[position]; | ||
if (!letterKey) { | ||
@@ -1042,0 +1042,0 @@ console.warn(`Position ${position} is out of range in numToLetterMap`); |
@@ -761,5 +761,5 @@ "use strict"; | ||
}; | ||
var generateSequencePosition = (sequenceProps, position) => { | ||
var generateSequencePosition = (sequenceProps, position = 0) => { | ||
const { type, base, ratio, subSequence } = sequenceProps; | ||
const letterKey = numToLetterMap[position]; | ||
const letterKey = (void 0).call("isString", position) ? position : numToLetterMap[position]; | ||
if (!letterKey) { | ||
@@ -766,0 +766,0 @@ console.warn(`Position ${position} is out of range in numToLetterMap`); |
@@ -5,3 +5,3 @@ { | ||
"author": "symbo.ls", | ||
"version": "2.11.521", | ||
"version": "2.11.522", | ||
"files": [ | ||
@@ -34,3 +34,3 @@ "src", | ||
}, | ||
"gitHead": "7f30a0846925a2f6db7899fde8bd96c0c87c1bb5" | ||
"gitHead": "f0cf0f8e16c7cac278886a322e85cb8d8188ca24" | ||
} |
@@ -171,5 +171,5 @@ 'use strict' | ||
export const generateSequencePosition = (sequenceProps, position) => { | ||
export const generateSequencePosition = (sequenceProps, position = 0) => { | ||
const { type, base, ratio, subSequence } = sequenceProps | ||
const letterKey = numToLetterMap[position] | ||
const letterKey = this.call("isString", position) ? position : numToLetterMap[position] | ||
@@ -176,0 +176,0 @@ if (!letterKey) { |
Sorry, the diff of this file is too big to display
765167
0.03%