decord/source/__polyfill/00xxx/module_137.js

28 lines
1 KiB
JavaScript
Raw Normal View History

// 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;
};