40ants / 40ants/reblocks

window.loadedDependencies not defined?

未關閉
#85 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Common Lisp
星號
101
分支
12
PR 合併指標
30 天內沒有已合併 PR

描述

I think window.loadedDependencies is not being defined/initialized ?

https://github.com/40ants/reblocks/blob/a057a217aa8042a60f55838d7c5be6556796784e/src/js/jquery/jquery.js#L399

Perhaps there's no problem because it is initialized when doing: https://github.com/40ants/reblocks/blob/a057a217aa8042a60f55838d7c5be6556796784e/src/js/jquery/jquery.js#L406C9-L406C57

But I think a `loadedDependencies = []` would be good.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

此 issue 指向 src/js/jquery/jquery.js 的第 399 行和第 406 行。檢查 window.loadedDependencies 是否已在使用前定義。尋找檔案中的其他位置或相關 script 中是否有初始化。若缺少,請新增類似 `window.loadedDependencies = []` 的初始化。透過在瀏覽器中執行專案的 JavaScript 進行測試,以確認是否可以存取此變數。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript, jquery
領域
frontend
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
描述清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。