Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ajaxq.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
$.ajaxq = function(qname, opts) {

if (typeof opts === "undefined") {
throw ("AjaxQ: queue name is not provided");
opts = qname;
qname = opts.url;
}

// Will return a Deferred promise object extended with success/error/callback, so that this function matches the interface of $.ajax
Expand Down