detectie:检测IE浏览器版本,对于非IE浏览器返回false

时间:2021-05-13 07:55:10
【文件属性】:
文件名称:detectie:检测IE浏览器版本,对于非IE浏览器返回false
文件大小:44KB
文件格式:ZIP
更新时间:2021-05-13 07:55:10
JavaScript 检测 用于检测IE浏览器版本的节点模块,对于非IE浏览器返回false 感谢提供的代码 var detectIe = require ( 'detectIe' ) ; console . log ( detectIe ( ) ) ; 运行测试服务器端 修改test.js以进行任何测试 npm install npm test 运行测试客户端 修改test.js以进行任何测试 npm install 确保您已全局安装了webpack npm install webpack -g 使用webpack将test.js编译成一个包 webpack ./test/test.js ./test/test-bundle.js 打开test.html以在浏览器中查看测试 执照
【文件预览】:
detectie-master
----package.json(707B)
----test()
--------test.js(418B)
--------test-bundle.js(204KB)
--------test.html(623B)
----detectie.js(865B)
----.gitignore(138B)
----README.md(765B)

网友评论