
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 制作的更多扩展
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分