Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const iviewConfig = (function () {
if (typeof iview === 'undefined') return iview2;
return (iview.version && iview.version.split('.')[0] == 3) ? iview3 : iview2;
}());
export const iviewConfig = (function () {
if (typeof iview === 'undefined') return iview2;
return (iview.version && iview.version.split('.')[0] == 3) ? iview3 : iview2;
}());
export const iviewConfig = (function () {
if (typeof iview === 'undefined') return iview2;
return (iview.version && iview.version.split('.')[0] == 3) ? iview3 : iview2;
}());
export const iviewConfig = (function () {
if (typeof iview === 'undefined') return iview2;
return (iview.version && iview.version.split('.')[0] == 3) ? iview3 : iview2;
}());