Fixed typeof test on enumerated object result - is always string now.
git-svn-id: svn://10.0.0.236/trunk@56125 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
dc38a4a602
commit
eb947e2e0f
@ -120,7 +120,7 @@
|
||||
this.pCount = 0;
|
||||
for ( var p in o ) {
|
||||
this.pCount++;
|
||||
if ( typeof p == "number" ) {
|
||||
if (!isNaN(p)) {
|
||||
eval( "this["+p+"] = o["+p+"]" );
|
||||
} else {
|
||||
eval( "this." + p + " = o."+ p );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user