0.1.1 • Published 9 years ago

http-jquery v0.1.1

Weekly downloads
1
License
-
Repository
github
Last release
9 years ago

http-jquery

license npm

build coverage code climate dependencies devDependencies

Nothing special ... but why writing these basic http-functions over and over again. Well tested jQuery ajax functions! There are still a lot of missing use-cases. If you have any, you are very welcome to add them!

.getJson()

Asynchronous GET request: takes a url and a data argument and returns a jQuery Deferred object. Expects that the thirdparty returns a JSON.

.getScript()

Takes a url and returns a Jqer Expects that the thirdparty return a script

.getTemplate()

Takes a url and returns a jQuery Deferred (promise) If a template is already loaded it will return the existing promise.

.post()

Asynchronous POST request: takes a url and a data argument and returns a jQuery Deferred object.

Copyright

Copyright © 2015 Maximilian Heinz, contributors. Released under the MIT License

0.1.1

9 years ago

0.1.0

9 years ago