lib/object.js
function(serverData) {
      // Copy server data
      var tempServerData = {};
      Parse._objectEach(serverData, function(value, key) {
        tempServerData[key] = Parse._decode(key, value);
      });
      this._serverData = tempServerData;

      // Refresh the attributes.
      this._rebuildAllEstimatedData();

      
      // Clear out any changes the user might have made previously.
      this._refreshCache();
      this._opSetQueue = [{}];

      // Refresh the attributes again.
      this._rebuildAllEstimatedData();       
    }
function(serverData) {
      // Copy server data
      var tempServerData = {};
      Parse._objectEach(serverData, function(value, key) {
        tempServerData[key] = Parse._decode(key, value);
      });
      this._serverData = tempServerData;

      // Refresh the attributes.
      this._rebuildAllEstimatedData();

      
      // Clear out any changes the user might have made previously.
      this._refreshCache();
      this._opSetQueue = [{}];

      // Refresh the attributes again.
      this._rebuildAllEstimatedData();       
    }
function ( serverData ) { // Copy server data var tempServerData = { } ; Parse . _objectEach ( serverData , function ( value , key ) { tempServerData [ key ] = Parse . _decode ( key , value ) ; } ) ; this . _serverData = tempServerData ; // Refresh the attributes. this . _rebuildAllEstimatedData ( ) ; // Clear out any changes the user might have made previously. this . _refreshCache ( ) ; this . _opSetQueue = [ { } ] ; // Refresh the attributes again. this . _rebuildAllEstimatedData ( ) ; }
Copies the given serverData to "this", refreshes attributes, and
clears pending changes;
Copies the given serverData to this refreshes attributes and clears pending changes ;