scripts/core/augmented.js
function(method, model, options) {
            if (!options) {
              options = {};
            }
            if (this.crossOrigin === true) {
              options.crossDomain = true;
            }
            if (!options.xhrFields) {
              options.xhrFields = {
                withCredentials: true
              };
            }

            if (this.mock) {
              options.mock = this.mock;
            }

            return Augmented.sync(method, model, options);
          }
function(method, model, options) {
            if (!options) {
              options = {};
            }
            if (this.crossOrigin === true) {
              options.crossDomain = true;
            }
            if (!options.xhrFields) {
              options.xhrFields = {
                withCredentials: true
              };
            }

            if (this.mock) {
              options.mock = this.mock;
            }

            return Augmented.sync(method, model, options);
          }
function ( method , model , options ) { if ( ! options ) { options = { } ; } if ( this . crossOrigin === true ) { options . crossDomain = true ; } if ( ! options . xhrFields ) { options . xhrFields = { withCredentials : true } ; } if ( this . mock ) { options . mock = this . mock ; } return Augmented . sync ( method , model , options ) ; }
Model.sync - Sync model data to bound REST call
@method sync
@memberof Augmented.Model
Model . sync - Sync model data to bound REST call