hash_util: Rename _uri functions to _url.

It's 2022 and the WHATWG no longer recognizes the term URI. Everything
is now a URL or a type of URL. Which is great because it's way less
confusing. Details here:
https://url.spec.whatwg.org/
This commit is contained in:
Austin Riba
2022-03-01 10:14:26 -08:00
committed by Tim Abbott
parent b39d47995d
commit b22578f975
27 changed files with 59 additions and 59 deletions

View File

@@ -43,7 +43,7 @@ function format_user_stream_list_item(stream, user) {
is_web_public: stream.is_web_public,
show_unsubscribe_button,
show_private_stream_unsub_tooltip,
stream_edit_url: hash_util.stream_edit_uri(stream),
stream_edit_url: hash_util.stream_edit_url(stream),
});
}
@@ -278,7 +278,7 @@ export function register_click_handlers() {
}
if (sub.invite_only && people.is_my_user_id(target_user_id)) {
const new_hash = hash_util.stream_edit_uri(sub);
const new_hash = hash_util.stream_edit_url(sub);
hide_user_profile();
browser_history.go_to_location(new_hash);
return;