Add a JavaScript utility function for building URLs.

Review Request #9716 — Created March 1, 2018 and submitted

chipx86
Djblets
release-1.0.x
dcc628b...
djblets

This adds a new Djblets.buildURL() function that can build a URL from
a base path, query string data, and an anchor. It takes care of encoding
query string data and ensuring the resulting URL is formatted just
right.

Unit tests pass.

Description From Last Updated

Col: 32 Expected '===' and instead saw '=='.

reviewbotreviewbot

typo: "Build an" -> "Build and"

daviddavid
Checks run (1 failed, 1 succeeded)
flake8 passed.
JSHint failed.

JSHint

chipx86
chipx86
chipx86
david
  1. 
      
  2. typo: "Build an" -> "Build and"

  3. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-1.0.x (2f611e1)
Loading...