
jsdiff.diff(...) 作者: A. Block
Compare objects in memory with jsdiff.diff(old, new) devtools function
必須使用 Firefox 才能使用此擴充套件
擴充套件後設資料
畫面擷圖



關於此擴充套件
An extension for developers that enhances the console API by incorporating the ability to compare objects and adds a JSDiff tab (parallel to Elements, Network panels) within your dev-tools for viewing the results.
Motivation:
Track object mutations during runtime and/or while debugging with intention to find expected or unexpected changes.
Note: before using, immediately after fresh installation, - make sure to refresh inspected tab or restart the browser.
API:
// compare left and right
jsdiff.diff(left, right);
// shorthand for jsdiff.diffPush(next)
jsdiff.diff(next);
// update object on the left side only
jsdiff.diffLeft(left);
// update object on the right side only
jsdiff.diffRight(right);
// shifts sides, right becomes left, next becomes right
jsdiff.diffPush(next);
Read more at: https://github.com/zendive/jsdiff
Motivation:
Track object mutations during runtime and/or while debugging with intention to find expected or unexpected changes.
Note: before using, immediately after fresh installation, - make sure to refresh inspected tab or restart the browser.
API:
// compare left and right
jsdiff.diff(left, right);
// shorthand for jsdiff.diffPush(next)
jsdiff.diff(next);
// update object on the left side only
jsdiff.diffLeft(left);
// update object on the right side only
jsdiff.diffRight(right);
// shifts sides, right becomes left, next becomes right
jsdiff.diffPush(next);
Read more at: https://github.com/zendive/jsdiff
Extension for Chrome can be found here: https://chromewebstore.google.com/detail/consolediff/iefeamoljhdcpigpnpggeiiabpnpgonb
為您的體驗打分數
權限與資料了解更多
必要權限:
- 讓開發者工具可存取您在開啟分頁中的資料
- 存取您所有網站中的資料
選用的權限:
- 存取您所有網站中的資料
更多資訊
新增至收藏集
A. Block 製作的更多擴充套件
- 目前沒有評分
- 目前沒有評分
- 目前沒有評分
- 目前沒有評分
- 目前沒有評分
- 目前沒有評分