yu-judge-browser
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -22,3 +22,6 @@ 'use strict'; | ||
wechat: u.indexOf('MicroMessenger') > -1, //是否微信 | ||
webApp: u.indexOf('Safari') == -1 //是否web应该程序,没有头部与底部 | ||
webApp: u.indexOf('Safari') == -1, //是否web应该程序,没有头部与底部 | ||
uc: u.indexOf('UCBrowser') > -1, //是否UC浏览器 | ||
dingding: u.indexOf('DingTalk') > -1, //是否UC浏览器 | ||
canOpenTab: u.indexOf('UCBrowser') < 0 && u.indexOf('MicroMessenger') < 0 && u.indexOf('DingTalk') < 0 //判断是否可以新开窗口 | ||
}; | ||
@@ -25,0 +28,0 @@ }(), |
{ | ||
"name": "yu-judge-browser", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "a simple plugin develop cli with babel", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -17,2 +17,5 @@ const YuJudgeBrowser = { | ||
webApp: u.indexOf('Safari') == -1, //是否web应该程序,没有头部与底部 | ||
uc:u.indexOf('UCBrowser') > -1, //是否UC浏览器 | ||
dingding:u.indexOf('DingTalk') > -1, //是否UC浏览器 | ||
canOpenTab:(u.indexOf('UCBrowser') < 0)&&(u.indexOf('MicroMessenger') < 0)&&(u.indexOf('DingTalk') < 0),//判断是否可以新开窗口 | ||
}; | ||
@@ -19,0 +22,0 @@ }(), |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53
5901
6