dist/uri.js.js
function(object) {
      var str = '';

      var first = true;

      for (var key in object) {
        if (Object.prototype.hasOwnProperty.call(object, key)) {
          var val = object[key];

          str += first ? '?' : '&';
          str += key;
          str += '=';
          str += val;

          first = false;
        }
      }

      return str;
    }
function(object) {
      var str = '';

      var first = true;

      for (var key in object) {
        if (Object.prototype.hasOwnProperty.call(object, key)) {
          var val = object[key];

          str += first ? '?' : '&';
          str += key;
          str += '=';
          str += val;

          first = false;
        }
      }

      return str;
    }
function ( object ) { var str = '' ; var first = true ; for ( var key in object ) { if ( Object . prototype . hasOwnProperty . call ( object , key ) ) { var val = object [ key ] ; str += first ? '?' : '&' ; str += key ; str += '=' ; str += val ; first = false ; } } return str ; }
Compile a query object into a string
@param  {Object} object The object to compile
@return {String}        Compiled object
Compile a query object into a string