online/src/js/querystring.js
function setBookmarkURL () {
  var query = {};
  var options = form.getOptions();
  options.parse.json || (query["allow-json"] = "no");
  options.parse.yaml || (query["allow-yaml"] = "no");
  options.parse.text || (query["allow-text"] = "no");
  options.parse.json.allowEmpty || (query["allow-empty"] = "no");
  options.parse.binary || (query["allow-unknown"] = "no");
  options.resolve.external || (query["refs-external"] = "no");
  options.dereference.circular || (query["refs-circular"] = "no");
  options.validate.schema || (query["validate-schema"] = "no");
  options.validate.spec || (query["validate-spec"] = "no");

  var method = form.method.button.val();
  method === "validate" || (query.method = method);

  var url = form.url.val();
  url === "" || (query.url = url);

  var bookmark = "?" + qs.stringify(query);
  form.bookmark.attr("href", bookmark);
}
function setBookmarkURL () {
  var query = {};
  var options = form.getOptions();
  options.parse.json || (query["allow-json"] = "no");
  options.parse.yaml || (query["allow-yaml"] = "no");
  options.parse.text || (query["allow-text"] = "no");
  options.parse.json.allowEmpty || (query["allow-empty"] = "no");
  options.parse.binary || (query["allow-unknown"] = "no");
  options.resolve.external || (query["refs-external"] = "no");
  options.dereference.circular || (query["refs-circular"] = "no");
  options.validate.schema || (query["validate-schema"] = "no");
  options.validate.spec || (query["validate-spec"] = "no");

  var method = form.method.button.val();
  method === "validate" || (query.method = method);

  var url = form.url.val();
  url === "" || (query.url = url);

  var bookmark = "?" + qs.stringify(query);
  form.bookmark.attr("href", bookmark);
}
function setBookmarkURL ( ) { var query = { } ; var options = form . getOptions ( ) ; options . parse . json || ( query [ "allow-json" ] = "no" ) ; options . parse . yaml || ( query [ "allow-yaml" ] = "no" ) ; options . parse . text || ( query [ "allow-text" ] = "no" ) ; options . parse . json . allowEmpty || ( query [ "allow-empty" ] = "no" ) ; options . parse . binary || ( query [ "allow-unknown" ] = "no" ) ; options . resolve . external || ( query [ "refs-external" ] = "no" ) ; options . dereference . circular || ( query [ "refs-circular" ] = "no" ) ; options . validate . schema || ( query [ "validate-schema" ] = "no" ) ; options . validate . spec || ( query [ "validate-spec" ] = "no" ) ; var method = form . method . button . val ( ) ; method === "validate" || ( query . method = method ) ; var url = form . url . val ( ) ; url === "" || ( query . url = url ) ; var bookmark = "?" + qs . stringify ( query ) ; form . bookmark . attr ( "href" , bookmark ) ; }
Sets the href of the bookmark link, based on the values of each form field
Sets the href of the bookmark link based on the values of each form field