Changeset 13497

Show
Ignore:
Timestamp:
04/30/08 08:33:02 (7 months ago)
Author:
dylan
Message:

refs #6653, fix an accidental global reference in dojox.rpc.JsonReferencing?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dojox/trunk/rpc/JsonReferencing.js

    r12733 r13497  
    163163        // return: 
    164164        //              An object, the result of the evaluation 
    165         root = eval('(' + str + ')'); // do the eval 
     165        var root = eval('(' + str + ')'); // do the eval 
    166166        if (root){ 
    167167                return this.resolveJson(root,schema); 
     
    254254                return dojo.toJson(it); // use the default serializer for primitives 
    255255        } 
    256         var json = serialize(it,'$',''); 
     256        var json = serialize(it,'$',''), i; 
    257257        for (i in paths){  // cleanup the temporary path-generated ids 
    258258                delete paths[i]._id;