decord/source/__polyfill/00xxx/module_137.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

27 lines
1 KiB
JavaScript

// Module ID: 137
// Function ID: 138
// Dependencies: [114]
// Exports: createReactNativeDocumentInstanceHandle, getNativeNodeReferenceFromReactNativeDocumentInstanceHandle, getPublicInstanceFromReactNativeDocumentInstanceHandle, isReactNativeDocumentInstanceHandle
// Module 137
import renderElementAll from "renderElement" /* 114 */;
importAll = arg3;
const dependencyMap = arg6;
export function createReactNativeDocumentInstanceHandle(containerTag) {
return containerTag;
}
export function getNativeNodeReferenceFromReactNativeDocumentInstanceHandle(target) {
return target;
}
export const getPublicInstanceFromReactNativeDocumentInstanceHandle = function getPublicInstanceFromReactNativeDocumentInstanceHandle(element) {
return renderElementAll.getPublicInstanceFromRootTag(Number(element));
};
export const isReactNativeDocumentInstanceHandle = function isReactNativeDocumentInstanceHandle(target) {
let tmp = typeof target === "number";
if (typeof target === "number") {
tmp = target % 10 === 1;
}
return tmp;
};