Skip to content

Instantly share code, notes, and snippets.

@wookiehangover
Created June 24, 2014 02:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wookiehangover/2a1b74ea936ab16097e1 to your computer and use it in GitHub Desktop.
Save wookiehangover/2a1b74ea936ab16097e1 to your computer and use it in GitHub Desktop.
var _ = require('underscore');
var $ = require('jquery');
var ReqMgr = function() {};
ReqMgr.prototype.ajax = function(options){
options = _.defaults(options || {}, {
// default options hurr
})
return $.ajax(options)
}
modules.exports = ReqMgr;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment