mirror of
https://github.com/mehotkhan/BandersnatchInteractive.git
synced 2025-07-28 09:42:55 +00:00
assets/scripts.js: Delete unused function
This commit is contained in:
parent
2826849ee0
commit
19c8003e62
1 changed files with 0 additions and 5 deletions
|
@ -82,11 +82,6 @@ function findSegment(id) {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getChoiceMs(choiceId) {
|
|
||||||
var segmentId = findSegment(choiceId);
|
|
||||||
return getSegmentMs(segmentId);
|
|
||||||
}
|
|
||||||
|
|
||||||
function getSegmentId(ms) {
|
function getSegmentId(ms) {
|
||||||
for (const [k, v] of Object.entries(segmentMap.segments)) {
|
for (const [k, v] of Object.entries(segmentMap.segments)) {
|
||||||
if (ms >= v.startTimeMs && ms < v.endTimeMs) {
|
if (ms >= v.startTimeMs && ms < v.endTimeMs) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue