decord/source/5393_enableExperimentalWebImplementation.js

21 lines
912 B
JavaScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 5393
// Function ID: 5394
2026-07-29 08:29:29 +00:00
// Name: enableExperimentalWebImplementation
2026-08-05 07:35:12 +00:00
// Dependencies: [17, 5357]
2026-07-29 08:29:29 +00:00
// Exports: enableExperimentalWebImplementation, enableLegacyWebImplementation, isNewWebImplementationEnabled
2026-08-05 07:35:12 +00:00
// Module 5393 (enableExperimentalWebImplementation)
2026-07-29 08:29:29 +00:00
import { Platform } from "get ActivityIndicator";
let c2 = true;
export const enableExperimentalWebImplementation = function enableExperimentalWebImplementation() {
2026-08-05 07:35:12 +00:00
console.warn(require(5357) /* toArray */.tagMessage("New web implementation is enabled by default. This function will be removed in Gesture Handler 3."));
2026-07-29 08:29:29 +00:00
};
export const enableLegacyWebImplementation = function enableLegacyWebImplementation() {
2026-08-05 07:35:12 +00:00
console.warn(require(5357) /* toArray */.tagMessage("Legacy web implementation is deprecated. This function will be removed in Gesture Handler 3."));
2026-07-29 08:29:29 +00:00
};
export function isNewWebImplementationEnabled() {
return c2;
}