mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-1457 comment
This commit is contained in:
parent
7c3493d652
commit
df463cc254
@ -216,7 +216,7 @@ const StringData _jscode_raw_utils =
|
||||
"for ( var k in src ){\n"
|
||||
"var v = src[k];\n"
|
||||
"if ( deep && typeof(v) == \"object\" ){\n"
|
||||
"if ( \"floatApprox\" in v ) {\n"
|
||||
"if ( \"floatApprox\" in v ) { // convert NumberLong properly\n"
|
||||
"eval( \"v = \" + tojson( v ) );\n"
|
||||
"} else {\n"
|
||||
"v = Object.extend( typeof ( v.length ) == \"number\" ? [] : {} , v , true );\n"
|
||||
|
Loading…
Reference in New Issue
Block a user