Website for visualizing a persons github network.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
335 B

  1. function findGetParameter(parameterName)
  2. {
  3. var result = null,
  4. tmp = [];
  5. var items = location.search.substr(1).split("&");
  6. for (var index = 0; index < items.length; index++) {
  7. tmp = items[index].split("=");
  8. if (tmp[0] === parameterName) result = decodeURIComponent(tmp[1]);
  9. }
  10. return result;
  11. }