Skip to content

Commit

Permalink
Adding AMD support.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gozala committed Apr 16, 2011
1 parent 9adfef6 commit f7405b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/querystring.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

// Query String Utilities

(typeof define === "undefined" ? function($) { $(require, exports, module) } : define)(function(require, exports, module, undefined) {
"use strict";

var QueryString = exports;
Expand Down Expand Up @@ -104,3 +105,4 @@ QueryString.parse = QueryString.decode = function(qs, sep, eq) {
return obj;
};

});

0 comments on commit f7405b6

Please sign in to comment.