Show:

Module: xhr/zepto

xhr/zepto

Zepto xhr module.

See:

Extends

Methods

xhr(url, options){Promise}

modules/xhr/zepto.js, line 23

Sends an XHR via http://zeptojs.com/#$.ajax. Maps success, error and complete options to done, fail and always of the returned Promise.

Name Type Description
url string | Object

remote URI to query, or a config object for Zepto.ajax().

options Object optional

config object for Zepto.ajax().