jsdiff.diff(...) 作者: A. Block
Compare objects in memory with jsdiff.diff(old, new) devtools function
1 个用户1 个用户
扩展元数据
屏幕截图
关于此扩展
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: this extension utilises content scripts, so after immediate installation or an update, make sure to refresh the inspected tab before using its functionality.
API:
Read more
Motivation:
Track object mutations during runtime and/or while debugging with intention to find expected or unexpected changes.
Note: this extension utilises content scripts, so after immediate installation or an update, make sure to refresh the inspected tab before using its functionality.
API:
// compare left and right arguments
jsdiff.diff(
{ a: 1, b: 1, c: 3 },
{ a: 1, b: 2, d: 3 }
);
// with a single argument behaves the same as `jsdiff.diffPush`
jsdiff.diff(Date.now());
// shifts sides - previous right side becomes left, new value becomes right
jsdiff.diffPush(Date.now());
// update left side only
jsdiff.diffLeft(Date.now());
// update right side only
jsdiff.diffRight(Date.now());
Read more
Extension for Chrome can be found here: https://chromewebstore.google.com/detail/consolediff/iefeamoljhdcpigpnpggeiiabpnpgonb
评分 0(1 位用户)
权限与数据
更多信息