Skip to content

v. 1.0.4

Compare
Choose a tag to compare
@maurictg maurictg released this 28 Jan 12:46
· 4 commits to master since this release

Bugfix and new feature

In this release you can add a before and after handler for all ajax requests in your application.
This can be done like this:

//before handler 
QQuery.setup.ajax.before = function() {
 //do something
}

//after handler
QQuery.setup.ajax.after = function(statusCode) {
  console.log('status: ', statusCode);
}

Also I've updated the webpack so the minified file is now only 6.5 kb