blocks/bla/bla.js
function (execOptions) {
                var url = this._basePath + 'batch';
                var data = JSON.stringify({methods: this._batch});
                sendAjaxRequest(url, data, execOptions).then(
                    this._resolvePromises.bind(this, this._batch),
                    this._rejectPromises.bind(this, this._batch)
                );

                this._batch = [];
            }
function (execOptions) {
                var url = this._basePath + 'batch';
                var data = JSON.stringify({methods: this._batch});
                sendAjaxRequest(url, data, execOptions).then(
                    this._resolvePromises.bind(this, this._batch),
                    this._rejectPromises.bind(this, this._batch)
                );

                this._batch = [];
            }
function ( execOptions ) { var url = this . _basePath + 'batch' ; var data = JSON . stringify ( { methods : this . _batch } ) ; sendAjaxRequest ( url , data , execOptions ) . then ( this . _resolvePromises . bind ( this , this . _batch ) , this . _rejectPromises . bind ( this , this . _batch ) ) ; this . _batch = [ ] ; }
Performs batch request.

@param {Object} execOptions Exec-specific options.
Performs batch request .