From dd43267ec6badf249d7c208003b837efdc06396b Mon Sep 17 00:00:00 2001 From: Ashutosh Khanduala Date: Fri, 2 Feb 2024 09:06:55 +0530 Subject: [PATCH 1/2] fix: add missing VTTin4Parser export --- src/text-mp4.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/text-mp4.js b/src/text-mp4.js index aaf6caf4..059b08af 100644 --- a/src/text-mp4.js +++ b/src/text-mp4.js @@ -86,4 +86,5 @@ Textin4Parser.prototype.parseConfig = function(data) { if (typeof exports !== 'undefined') { exports.XMLSubtitlein4Parser = XMLSubtitlein4Parser; exports.Textin4Parser = Textin4Parser; + exports.VTTin4Parser = VTTin4Parser; } From 48ca100d5eaaab133574bda42bf8d67bf4b058a2 Mon Sep 17 00:00:00 2001 From: Deniz Ugur <7467169+DenizUgur@users.noreply.github.com> Date: Sat, 2 Nov 2024 03:14:50 +0300 Subject: [PATCH 2/2] refactor to follow the code flow --- src/text-mp4.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text-mp4.js b/src/text-mp4.js index 059b08af..a124cb81 100644 --- a/src/text-mp4.js +++ b/src/text-mp4.js @@ -84,7 +84,7 @@ Textin4Parser.prototype.parseConfig = function(data) { } if (typeof exports !== 'undefined') { + exports.VTTin4Parser = VTTin4Parser; exports.XMLSubtitlein4Parser = XMLSubtitlein4Parser; exports.Textin4Parser = Textin4Parser; - exports.VTTin4Parser = VTTin4Parser; }