flake8
passed.
JSHint
failed.
JSHint
-
djblets/static/djblets/js/utils/urls.es6.js (Diff revision 1) Show all issues
Review Request #9716 — Created March 1, 2018 and submitted
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.
==
with a ===
.Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+131) |
?
.?
is no longer added for empty objects or arrays.Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 3 (+182) |
Made the leading
#
for anchors optional as well.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 4 (+198) |