js: Add JSDoc to exported functions and fix incorrect JSDoc formatting
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1499>
This commit is contained in:

committed by
Florian Müllner

parent
4642a8541d
commit
64aa871a8a
@ -17,6 +17,11 @@ var MESSAGE_ANIMATION_TIME = 100;
|
||||
|
||||
var DEFAULT_EXPAND_LINES = 6;
|
||||
|
||||
/**
|
||||
* @param {string} text
|
||||
* @param {boolean} allowMarkup
|
||||
* @returns {string}
|
||||
*/
|
||||
function _fixMarkup(text, allowMarkup) {
|
||||
if (allowMarkup) {
|
||||
// Support &, ", ', < and >, escape all other
|
||||
|
Reference in New Issue
Block a user