diff --git a/diff2.js b/diff2.js index 1af5b89..3a74a2b 100644 --- a/diff2.js +++ b/diff2.js @@ -388,7 +388,8 @@ function*(obj, path=[], options={}){ -var WALK_HANDLERS = { +var WALK_HANDLERS = +module.WALK_HANDLERS = { map: { walk: function(obj){ return obj instanceof Map