Open decatur opened 10 years ago
The code assings windowto window.jsondiff. To fix, replace the line
window
window.jsondiff
return root.jsondiff = factory(root, {})
by
return root.jsondiff = factory(root, {}).diff;
The rewrite at https://github.com/andreas-gruenbacher/json-diff works for me so far.
The code assings
window
towindow.jsondiff
. To fix, replace the lineby