a8m / a8m/angular-filter

Memoization function doesn't work cross browser

未關閉
#108 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
2.9k
分支
319
PR 合併指標
30 天內沒有已合併 PR

描述

Memoize currently applies toJson to the arguments object, but that doesn't work across all browsers:

http://stackoverflow.com/questions/17546967/whats-going-on-with-json-stringifyarguments

PR forthcoming

貢獻指南

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

研究方向

The memoization function is likely in a file like `src/memoize.js` or within a filter utility. Examine how arguments are serialized using `toJson` or `JSON.stringify`. The Stack Overflow link explains the cross-browser inconsistency with `arguments`. Test the fix across different browsers to ensure the memoization key generation works uniformly. Check if there are existing tests for memoization to verify the change.

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

評估

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

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

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