1.0.21 • Published 7 years ago

ajaxy v1.0.21

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

Simple Ajax

A simple plan for Ajax, with Promise of ES6, AMD supporting.

Usage

Ajax.get( url, params ).when(200,response=>{/*...*/}).when(404,()=>{/*...*/})/*.when(...*/;

All Apis

Ajax.get(   url, params={} );
Ajax.post(  url, params={} );
Ajax.put(   url, params={} );
Ajax.patch( url, params={} );

Ajax.OPTIONS( url, header={} );
Ajax.HEAD(    url, header={} );
Ajax.GET(     url, header={} );
Ajax.DELETE(  url, header={} );
Ajax.POST(    url, body, header={} );
Ajax.PUT(     url, body, header={} );
Ajax.PATCH(   url, body, header={} );
1.0.21

7 years ago

1.0.20

7 years ago

1.0.17

7 years ago

1.0.16

7 years ago

1.0.15

7 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago