We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 200333b commit fc9bfe8Copy full SHA for fc9bfe8
src/lib/dict.js
@@ -59,7 +59,8 @@ Dict.prototype = new function()
59
for (var key in obj)
60
{
61
var value = obj[key];
62
- if (Object.prototype.toString.call(value) == "[object Object]")
+ if (Object.prototype.toString.call(value) == "[object Object]" &&
63
+ !(value instanceof Dict))
64
value = new Dict(value);
65
this.set(key, value);
66
}
0 commit comments