[gnome] Update extensions for version 48
This commit is contained in:
@ -79,7 +79,7 @@ const _numberRegex = new RegExp(
|
||||
* the position within @str where the URL was found.
|
||||
*
|
||||
* @param {string} str - the string to search
|
||||
* @return {Object[]} the list of match objects, as described above
|
||||
* @returns {object[]} the list of match objects, as described above
|
||||
*/
|
||||
export function findUrls(str) {
|
||||
_urlRegexp.lastIndex = 0;
|
||||
@ -103,7 +103,7 @@ export function findUrls(str) {
|
||||
*
|
||||
* @param {string} str - The string to be modified
|
||||
* @param {string} [title] - An optional title (eg. alt text, tooltip)
|
||||
* @return {string} the modified text
|
||||
* @returns {string} the modified text
|
||||
*/
|
||||
export function linkify(str, title = null) {
|
||||
const text = GLib.markup_escape_text(str, -1);
|
||||
@ -166,4 +166,3 @@ export default class URI {
|
||||
return this.body ? `${uri}?body=${escape(this.body)}` : uri;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user