Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
can.ajax = function(args){
if(typeof args === "string") {
args = { url: args };
}
args.url = base + args.url;
arguments[0] = args;
return najax.apply(this, arguments);
};