Ai
2 Star 0 Fork 0

chromium_develop/chromium_third_party_chaijs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
chromium.patch 596 Bytes
一键复制 编辑 原始数据 按行查看 历史
李想 提交于 2022-08-16 16:02 +08:00 . chromium origin init
diff --git a/third_party/chaijs/chai.js b/third_party/chaijs/chai.js
index 39429c51b912..067a18fb688d 100644
--- a/third_party/chaijs/chai.js
+++ b/third_party/chaijs/chai.js
@@ -10475,7 +10475,7 @@ module.exports = {
var promiseExists = typeof Promise === 'function';
/* eslint-disable no-undef */
-var globalObject = typeof self === 'object' ? self : global; // eslint-disable-line id-blacklist
+var globalObject = typeof self === 'object' ? self : null; // eslint-disable-line id-blacklist
var symbolExists = typeof Symbol !== 'undefined';
var mapExists = typeof Map !== 'undefined';
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chromium_develop/chromium_third_party_chaijs.git
git@gitee.com:chromium_develop/chromium_third_party_chaijs.git
chromium_develop
chromium_third_party_chaijs
chromium_third_party_chaijs
master

搜索帮助