citong-react-web
Version:
A framework for building web apps with React
27 lines (22 loc) • 480 B
JavaScript
/**
* Copyright (c) 2015-present, Alibaba Group Holding Limited.
* All rights reserved.
*
* @providesModule ReactLinking
*/
;
var emptyFunction = function() {};
var Linking = {
addEventListener: emptyFunction,
removeEventListener: emptyFunction,
openURL: (url) => {
if (window) {
window.open(url);
}
},
canOpenURL: (url) => {
return true;
},
getInitialURL: emptyFunction,
};
module.exports = Linking;