UNPKG

tjc-sdk

Version:

TIANJI IM SDK

2 lines (1 loc) 499 B
function e(){return!("undefined"==typeof process||!process.versions||!process.versions.electron)}function n(){return"undefined"!=typeof window&&void 0!==window.document}function o(){return!("undefined"==typeof process||!process.versions||!process.versions.node)}let r=null,t=null,c=null;if(e())try{const e=require("electron");r=e.ipcRenderer,t=e.BrowserWindow,c=e.remote}catch(e){}const s=r,u=t,i=c;export{u as BrowserWindow,s as ipcRenderer,n as isBrowser,e as isElectron,o as isNode,i as remote};