From 11e219dd418d0961ea8a1ba90e7d70b7a509ef32 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Sun, 26 Jan 2020 16:21:20 +0100 Subject: [PATCH] Update copyright --- src/converse-autocomplete.js | 2 +- src/converse-bookmark-views.js | 11 +++-------- src/converse-chatboxviews.js | 8 ++------ src/converse-chatview.js | 8 ++------ src/converse-controlbox.js | 8 ++------ src/converse-dragresize.js | 8 ++------ src/converse-emoji-views.js | 2 +- src/converse-fullscreen.js | 8 ++------ src/converse-headlines-view.js | 7 ++----- src/converse-mam-views.js | 8 ++------ src/converse-message-view.js | 7 ++----- src/converse-minimize.js | 7 ++----- src/converse-modal.js | 2 +- src/converse-muc-views.js | 2 +- src/converse-notification.js | 8 ++------ src/converse-oauth.js | 11 +++++------ src/converse-omemo.js | 5 +++-- src/converse-profile.js | 2 +- src/converse-push.js | 7 ++----- src/converse-register.js | 8 ++------ src/converse-roomslist.js | 7 ++----- src/converse-rosterview.js | 2 +- src/converse-uniview.js | 7 ++----- src/converse.js | 11 +++++------ src/entry.js | 2 +- src/headless/converse-bookmarks.js | 8 ++------ src/headless/converse-bosh.js | 2 +- src/headless/converse-caps.js | 7 ++----- src/headless/converse-chat.js | 5 +++++ src/headless/converse-chatboxes.js | 7 ++----- src/headless/converse-core.js | 2 +- src/headless/converse-disco.js | 2 +- src/headless/converse-emoji.js | 7 ++----- src/headless/converse-headlines.js | 2 +- src/headless/converse-mam.js | 11 +++-------- src/headless/converse-muc.js | 2 +- src/headless/converse-ping.js | 7 ++----- src/headless/converse-pubsub.js | 2 +- src/headless/converse-roster.js | 2 +- src/headless/converse-rsm.js | 2 +- src/headless/converse-smacks.js | 2 +- src/headless/converse-status.js | 2 +- src/headless/converse-vcard.js | 2 +- src/headless/i18n.js | 14 ++++++-------- src/headless/utils/core.js | 13 +++++-------- src/headless/utils/form.js | 12 +++++------- src/headless/utils/muc.js | 13 +++++-------- src/utils/html.js | 13 +++++-------- 48 files changed, 106 insertions(+), 191 deletions(-) diff --git a/src/converse-autocomplete.js b/src/converse-autocomplete.js index 075037b9a..bf838f9b5 100644 --- a/src/converse-autocomplete.js +++ b/src/converse-autocomplete.js @@ -1,6 +1,6 @@ /** * @module converse-autocomplete - * @copyright Lea Verou and the Converse.js developers + * @copyright Lea Verou and the Converse.js contributors * @description * Converse.js plugin which started as a fork of Lea Verou's Awesomplete * https://leaverou.github.io/awesomplete/ diff --git a/src/converse-bookmark-views.js b/src/converse-bookmark-views.js index a3b3f197f..5cf2838ef 100644 --- a/src/converse-bookmark-views.js +++ b/src/converse-bookmark-views.js @@ -1,13 +1,8 @@ -// Converse.js (A browser based XMPP chat client) -// https://conversejs.org -// -// Copyright (c) 2019, Jan-Carel Brand -// Licensed under the Mozilla Public License (MPLv2) -// /** * @module converse-bookmark-views - * @description - * Converse.js plugin which adds views for XEP-0048 bookmarks + * @description Converse.js plugin which adds views for XEP-0048 bookmarks + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) */ import "@converse/headless/converse-muc"; import { Model } from 'skeletor.js/src/model.js'; diff --git a/src/converse-chatboxviews.js b/src/converse-chatboxviews.js index 664f93177..f64abc081 100644 --- a/src/converse-chatboxviews.js +++ b/src/converse-chatboxviews.js @@ -1,11 +1,7 @@ -// Converse.js -// https://conversejs.org -// -// Copyright (c) 2012-2019, the Converse.js developers -// Licensed under the Mozilla Public License (MPLv2) - /** * @module converse-chatboxviews + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) */ import "@converse/headless/converse-chatboxes"; import { HTMLView } from 'skeletor.js/src/htmlview.js'; diff --git a/src/converse-chatview.js b/src/converse-chatview.js index 1e6402b9a..c707ee98e 100644 --- a/src/converse-chatview.js +++ b/src/converse-chatview.js @@ -1,11 +1,7 @@ -// Converse.js -// https://conversejs.org -// -// Copyright (c) 2013-2019, the Converse.js developers -// Licensed under the Mozilla Public License (MPLv2) - /** * @module converse-chatview + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) */ import "converse-chatboxviews"; import "converse-message-view"; diff --git a/src/converse-controlbox.js b/src/converse-controlbox.js index 97f6a7be7..07ea1b2a7 100644 --- a/src/converse-controlbox.js +++ b/src/converse-controlbox.js @@ -1,11 +1,7 @@ -// Converse.js (A browser based XMPP chat client) -// https://conversejs.org -// -// Copyright (c) 2012-2017, Jan-Carel Brand -// Licensed under the Mozilla Public License (MPLv2) -// /** * @module converse-controlbox + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) */ import "converse-chatview"; import "formdata-polyfill"; diff --git a/src/converse-dragresize.js b/src/converse-dragresize.js index 38f0346d8..442b000c5 100644 --- a/src/converse-dragresize.js +++ b/src/converse-dragresize.js @@ -1,11 +1,7 @@ -// Converse.js (A browser based XMPP chat client) -// https://conversejs.org -// -// Copyright (c) 2012-2019, Jan-Carel Brand -// Licensed under the Mozilla Public License (MPLv2) -// /** * @module converse-dragresize + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) */ import "converse-chatview"; import "converse-controlbox"; diff --git a/src/converse-emoji-views.js b/src/converse-emoji-views.js index a146b742e..d7f67f8d1 100644 --- a/src/converse-emoji-views.js +++ b/src/converse-emoji-views.js @@ -1,6 +1,6 @@ /** * @module converse-emoji-views - * @copyright 2013-2019, the Converse.js developers + * @copyright 2020, the Converse.js contributors * @license Mozilla Public License (MPLv2) */ diff --git a/src/converse-fullscreen.js b/src/converse-fullscreen.js index c078ea9ca..a5f327c54 100644 --- a/src/converse-fullscreen.js +++ b/src/converse-fullscreen.js @@ -1,11 +1,7 @@ -// Converse.js (A browser based XMPP chat client) -// https://conversejs.org -// -// Copyright (c) JC Brand -// Licensed under the Mozilla Public License (MPLv2) -// /** * @module converse-fullscreen + * @license Mozilla Public License (MPLv2) + * @copyright 2020, the Converse.js contributors */ import "@converse/headless/converse-muc"; import "converse-chatview"; diff --git a/src/converse-headlines-view.js b/src/converse-headlines-view.js index b47698e0c..34310e666 100644 --- a/src/converse-headlines-view.js +++ b/src/converse-headlines-view.js @@ -1,10 +1,7 @@ -// Converse.js (A browser based XMPP chat client) -// https://conversejs.org -// -// Copyright (c) 2019, Jan-Carel Brand -// Licensed under the Mozilla Public License (MPLv2) /** * @module converse-headlines-view + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) */ import "converse-chatview"; import converse from "@converse/headless/converse-core"; diff --git a/src/converse-mam-views.js b/src/converse-mam-views.js index 16bac7d88..45ecfca07 100644 --- a/src/converse-mam-views.js +++ b/src/converse-mam-views.js @@ -1,13 +1,9 @@ -// Converse.js (A browser based XMPP chat client) -// https://conversejs.org -// -// Copyright (c) 2012-2019, Jan-Carel Brand -// Licensed under the Mozilla Public License (MPLv2) -// /** * @module converse-mam-views * @description * Views for XEP-0313 Message Archive Management + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) */ import converse from "@converse/headless/converse-core"; import { debounce } from 'lodash' diff --git a/src/converse-message-view.js b/src/converse-message-view.js index 69f89a1d7..6b518402f 100644 --- a/src/converse-message-view.js +++ b/src/converse-message-view.js @@ -1,10 +1,7 @@ -// Converse.js -// https://conversejs.org -// -// Copyright (c) 2013-2019, the Converse.js developers -// Licensed under the Mozilla Public License (MPLv2) /** * @module converse-message-view + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) */ import "./utils/html"; import "@converse/headless/converse-emoji"; diff --git a/src/converse-minimize.js b/src/converse-minimize.js index 8a82c8723..214e8d9f5 100644 --- a/src/converse-minimize.js +++ b/src/converse-minimize.js @@ -1,10 +1,7 @@ -// Converse.js (A browser based XMPP chat client) -// https://conversejs.org -// -// Copyright (c) 2013-2019, Jan-Carel Brand -// Licensed under the Mozilla Public License (MPLv2) /** * @module converse-minimize + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) */ import "converse-chatview"; import { Model } from 'skeletor.js/src/model.js'; diff --git a/src/converse-modal.js b/src/converse-modal.js index 11e668aa2..3fbd36303 100644 --- a/src/converse-modal.js +++ b/src/converse-modal.js @@ -1,6 +1,6 @@ /** * @module converse-modal - * @copyright The Converse.js developers + * @copyright The Converse.js contributors * @license Mozilla Public License (MPLv2) */ import { HTMLView } from 'skeletor.js/src/htmlview.js'; diff --git a/src/converse-muc-views.js b/src/converse-muc-views.js index ef78b5033..325aeddae 100644 --- a/src/converse-muc-views.js +++ b/src/converse-muc-views.js @@ -1,6 +1,6 @@ /** * @module converse-muc-views - * @copyright 2013-2019, the Converse.js developers + * @copyright 2020, the Converse.js contributors * @description XEP-0045 Multi-User Chat Views * @license Mozilla Public License (MPLv2) */ diff --git a/src/converse-notification.js b/src/converse-notification.js index 2ef2242f9..6d5d26b8d 100644 --- a/src/converse-notification.js +++ b/src/converse-notification.js @@ -1,11 +1,7 @@ -// Converse.js (A browser based XMPP chat client) -// https://conversejs.org -// -// Copyright (c) 2013-2019, JC Brand -// Licensed under the Mozilla Public License (MPLv2) -// /** * @module converse-notification + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) */ import converse from "@converse/headless/converse-core"; import { get } from "lodash"; diff --git a/src/converse-oauth.js b/src/converse-oauth.js index 58a55df47..90b6caeec 100644 --- a/src/converse-oauth.js +++ b/src/converse-oauth.js @@ -1,9 +1,8 @@ -// Converse.js -// https://conversejs.org -// -// Copyright (c) 2013-2019, the Converse.js developers -// Licensed under the Mozilla Public License (MPLv2) - +/** + * @module converse-oauth + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) + */ import { Collection } from "skeletor.js/src/collection"; import { Model } from 'skeletor.js/src/model.js'; import converse from "@converse/headless/converse-core"; diff --git a/src/converse-omemo.js b/src/converse-omemo.js index 85d67500a..7a344649b 100644 --- a/src/converse-omemo.js +++ b/src/converse-omemo.js @@ -1,9 +1,10 @@ -/* global libsignal, ArrayBuffer */ /** * @module converse-omemo - * @copyright The Converse.js developers + * @copyright The Converse.js contributors * @license Mozilla Public License (MPLv2) */ +/* global libsignal, ArrayBuffer */ + import "converse-profile"; import { Collection } from "skeletor.js/src/collection"; import { Model } from 'skeletor.js/src/model.js'; diff --git a/src/converse-profile.js b/src/converse-profile.js index 7674d1bdf..105e03659 100644 --- a/src/converse-profile.js +++ b/src/converse-profile.js @@ -1,6 +1,6 @@ /** * @module converse-profile - * @copyright The Converse.js developers + * @copyright The Converse.js contributors * @license Mozilla Public License (MPLv2) */ import "@converse/headless/converse-status"; diff --git a/src/converse-push.js b/src/converse-push.js index 7c613d90c..be0c0627b 100644 --- a/src/converse-push.js +++ b/src/converse-push.js @@ -1,13 +1,10 @@ -// Converse.js -// https://conversejs.org -// -// Copyright (c) 2013-2019, the Converse.js developers -// Licensed under the Mozilla Public License (MPLv2) /** * @module converse-push * @description * Converse.js plugin which add support for registering * an "App Server" as defined in XEP-0357 + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) */ import converse from "@converse/headless/converse-core"; import log from "@converse/headless/log"; diff --git a/src/converse-register.js b/src/converse-register.js index 605927c38..d9838eb3f 100644 --- a/src/converse-register.js +++ b/src/converse-register.js @@ -1,14 +1,10 @@ -// Converse.js (A browser based XMPP chat client) -// https://conversejs.org -// -// Copyright (c) 2012-2017, Jan-Carel Brand -// Licensed under the Mozilla Public License (MPLv2) -// /** * @module converse-register * @description * This is a Converse.js plugin which add support for in-band registration * as specified in XEP-0077. + * * @copyright 2020, the Converse.js contributors + * * @license Mozilla Public License (MPLv2) */ import "converse-controlbox"; import { View } from "skeletor.js/src/view"; diff --git a/src/converse-roomslist.js b/src/converse-roomslist.js index 37d2bf1ad..38a0284c8 100644 --- a/src/converse-roomslist.js +++ b/src/converse-roomslist.js @@ -1,13 +1,10 @@ -// Converse.js (A browser based XMPP chat client) -// https://conversejs.org -// -// Copyright (c) 2013-2019, Jan-Carel Brand -// Licensed under the Mozilla Public License (MPLv2) /** * @module converse-roomslist * @description * Converse.js plugin which shows a list of currently open * rooms in the "Rooms Panel" of the ControlBox. + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) */ import "@converse/headless/converse-muc"; import { Model } from 'skeletor.js/src/model.js'; diff --git a/src/converse-rosterview.js b/src/converse-rosterview.js index 869adb363..e9b479119 100644 --- a/src/converse-rosterview.js +++ b/src/converse-rosterview.js @@ -1,6 +1,6 @@ /** * @module converse-rosterview - * @copyright 2013-2019, the Converse.js developers + * @copyright 2020, the Converse.js contributors * @license Mozilla Public License (MPLv2) */ import "@converse/headless/converse-chatboxes"; diff --git a/src/converse-uniview.js b/src/converse-uniview.js index 20af8c3fb..da4a294d8 100644 --- a/src/converse-uniview.js +++ b/src/converse-uniview.js @@ -1,8 +1,3 @@ -// Converse.js -// http://conversejs.org -// -// Copyright (c) 2013-2018, the Converse.js developers -// Licensed under the Mozilla Public License (MPLv2) /** * @module converse-uniview * @description @@ -12,6 +7,8 @@ * * This plugin makes sense in mobile, embedded or fullscreen chat environments * (as configured by the `view_mode` setting). + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) */ import "converse-chatview"; import converse from "@converse/headless/converse-core"; diff --git a/src/converse.js b/src/converse.js index 4adbbc10e..020f59130 100644 --- a/src/converse.js +++ b/src/converse.js @@ -1,9 +1,8 @@ -// Converse.js (A browser based XMPP chat client) -// https://conversejs.org -// -// Copyright (c) 2019, The Converse developers -// Licensed under the Mozilla Public License (MPLv2) -// +/** + * @description Converse.js (A browser based XMPP chat client) + * @copyright 2020, The Converse developers + * @license Mozilla Public License (MPLv2) + */ /* START: Removable components * -------------------- diff --git a/src/entry.js b/src/entry.js index 258a5ab4a..bfaa35c90 100644 --- a/src/entry.js +++ b/src/entry.js @@ -1,7 +1,7 @@ // Converse.js // https://conversejs.org // -// Copyright (c) 2013-2019, the Converse.js developers +// Copyright (c) 2020, the Converse.js contributors // Licensed under the Mozilla Public License (MPLv2) // // Webpack entry file diff --git a/src/headless/converse-bookmarks.js b/src/headless/converse-bookmarks.js index 7e78908f1..74dc5a2a7 100644 --- a/src/headless/converse-bookmarks.js +++ b/src/headless/converse-bookmarks.js @@ -1,13 +1,9 @@ -// Converse.js (A browser based XMPP chat client) -// https://conversejs.org -// -// Copyright (c) 2019, Jan-Carel Brand -// Licensed under the Mozilla Public License (MPLv2) -// /** * @module converse-bookmarks * @description * Converse.js plugin which adds views for bookmarks specified in XEP-0048. + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) */ import "@converse/headless/converse-muc"; import converse from "@converse/headless/converse-core"; diff --git a/src/headless/converse-bosh.js b/src/headless/converse-bosh.js index a4ba2568a..802e5a183 100644 --- a/src/headless/converse-bosh.js +++ b/src/headless/converse-bosh.js @@ -1,6 +1,6 @@ /** * @module converse-bosh - * @copyright The Converse.js developers + * @copyright The Converse.js contributors * @license Mozilla Public License (MPLv2) * @description Converse.js plugin which add support for XEP-0206: XMPP Over BOSH */ diff --git a/src/headless/converse-caps.js b/src/headless/converse-caps.js index 9fdf42987..24267a3b9 100644 --- a/src/headless/converse-caps.js +++ b/src/headless/converse-caps.js @@ -1,10 +1,7 @@ -// Converse.js -// https://conversejs.org -// -// Copyright (c) 2013-2019, the Converse.js developers -// Licensed under the Mozilla Public License (MPLv2) /** * @module converse-caps + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) */ import SHA1 from 'strophe.js/src/sha1'; import converse from "@converse/headless/converse-core"; diff --git a/src/headless/converse-chat.js b/src/headless/converse-chat.js index fdac1a8cc..6f092e58c 100644 --- a/src/headless/converse-chat.js +++ b/src/headless/converse-chat.js @@ -1,3 +1,8 @@ +/** + * @module converse-chat + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) + */ import { get, isObject, isString, pick } from "lodash"; import { Collection } from "skeletor.js/src/collection"; import { Model } from 'skeletor.js/src/model.js'; diff --git a/src/headless/converse-chatboxes.js b/src/headless/converse-chatboxes.js index a9e7b35a5..7c58b0aaf 100644 --- a/src/headless/converse-chatboxes.js +++ b/src/headless/converse-chatboxes.js @@ -1,10 +1,7 @@ -// Converse.js -// https://conversejs.org -// -// Copyright (c) 2012-2019, the Converse.js developers -// Licensed under the Mozilla Public License (MPLv2) /** * @module converse-chatboxes + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) */ import "./converse-emoji"; import { Collection } from "skeletor.js/src/collection"; diff --git a/src/headless/converse-core.js b/src/headless/converse-core.js index 18c252e02..3c5ae6d55 100644 --- a/src/headless/converse-core.js +++ b/src/headless/converse-core.js @@ -1,6 +1,6 @@ /** * @module converse-core - * @copyright The Converse.js developers + * @copyright The Converse.js contributors * @license Mozilla Public License (MPLv2) */ import { __, i18n } from './i18n'; diff --git a/src/headless/converse-disco.js b/src/headless/converse-disco.js index bbf51f685..0c7b5b2ee 100644 --- a/src/headless/converse-disco.js +++ b/src/headless/converse-disco.js @@ -1,6 +1,6 @@ /** * @module converse-disco - * @copyright The Converse.js developers + * @copyright The Converse.js contributors * @license Mozilla Public License (MPLv2) * @description Converse plugin which add support for XEP-0030: Service Discovery */ diff --git a/src/headless/converse-emoji.js b/src/headless/converse-emoji.js index b8f7d3864..aaa38943e 100644 --- a/src/headless/converse-emoji.js +++ b/src/headless/converse-emoji.js @@ -1,10 +1,7 @@ -// Converse.js -// https://conversejs.org -// -// Copyright (c) 2012-2019, the Converse.js developers -// Licensed under the Mozilla Public License (MPLv2) /** * @module converse-emoji + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) */ import { Model } from 'skeletor.js/src/model.js'; import * as twemoji from "twemoji"; diff --git a/src/headless/converse-headlines.js b/src/headless/converse-headlines.js index bc9e107fb..fca080702 100644 --- a/src/headless/converse-headlines.js +++ b/src/headless/converse-headlines.js @@ -1,6 +1,6 @@ /** * @module converse-headlines - * @copyright 2013-2019, the Converse.js developers + * @copyright 2020, the Converse.js contributors * @description XEP-0045 Multi-User Chat Views */ import "converse-chatview"; diff --git a/src/headless/converse-mam.js b/src/headless/converse-mam.js index 9338569cc..47f2cc40d 100644 --- a/src/headless/converse-mam.js +++ b/src/headless/converse-mam.js @@ -1,13 +1,8 @@ -// Converse.js (A browser based XMPP chat client) -// https://conversejs.org -// -// Copyright (c) Jan-Carel Brand -// Licensed under the Mozilla Public License (MPLv2) -// /** * @module converse-mam - * @description - * XEP-0313 Message Archive Management + * @description XEP-0313 Message Archive Management + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) */ import "./converse-disco"; import "./converse-rsm"; diff --git a/src/headless/converse-muc.js b/src/headless/converse-muc.js index 3204ae634..febea0074 100644 --- a/src/headless/converse-muc.js +++ b/src/headless/converse-muc.js @@ -1,6 +1,6 @@ /** * @module converse-muc - * @copyright The Converse.js developers + * @copyright The Converse.js contributors * @license Mozilla Public License (MPLv2) * @description Implements the non-view logic for XEP-0045 Multi-User Chat */ diff --git a/src/headless/converse-ping.js b/src/headless/converse-ping.js index 4a3fd9066..0d642f888 100644 --- a/src/headless/converse-ping.js +++ b/src/headless/converse-ping.js @@ -1,13 +1,10 @@ -// Converse.js -// https://conversejs.org -// -// Copyright (c) 2013-2019, the Converse.js developers -// Licensed under the Mozilla Public License (MPLv2) /** * @module converse-ping * @description * Converse.js plugin which add support for application-level pings * as specified in XEP-0199 XMPP Ping. + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) */ import converse from "./converse-core"; import log from "./log"; diff --git a/src/headless/converse-pubsub.js b/src/headless/converse-pubsub.js index bb0d7b047..8d035a3f2 100644 --- a/src/headless/converse-pubsub.js +++ b/src/headless/converse-pubsub.js @@ -1,6 +1,6 @@ /** * @module converse-pubsub - * @copyright The Converse.js developers + * @copyright The Converse.js contributors * @license Mozilla Public License (MPLv2) */ import "./converse-disco"; diff --git a/src/headless/converse-roster.js b/src/headless/converse-roster.js index 1d97106c5..da56cb1e9 100644 --- a/src/headless/converse-roster.js +++ b/src/headless/converse-roster.js @@ -1,6 +1,6 @@ /** * @module converse-roster - * @copyright The Converse.js developers + * @copyright The Converse.js contributors * @license Mozilla Public License (MPLv2) */ import "@converse/headless/converse-status"; diff --git a/src/headless/converse-rsm.js b/src/headless/converse-rsm.js index 8b13ba30e..f21d6262d 100644 --- a/src/headless/converse-rsm.js +++ b/src/headless/converse-rsm.js @@ -1,6 +1,6 @@ /** * @module converse-rsm - * @copyright The Converse.js developers + * @copyright The Converse.js contributors * @license Mozilla Public License (MPLv2) * @description XEP-0059 Result Set Management * Some code taken from the Strophe RSM plugin, licensed under the MIT License diff --git a/src/headless/converse-smacks.js b/src/headless/converse-smacks.js index 404b5ba4f..2605f2764 100644 --- a/src/headless/converse-smacks.js +++ b/src/headless/converse-smacks.js @@ -1,6 +1,6 @@ /** * @module converse-smacks - * @copyright The Converse.js developers + * @copyright The Converse.js contributors * @license Mozilla Public License (MPLv2) * @description Converse.js plugin which adds support for XEP-0198: Stream Management */ diff --git a/src/headless/converse-status.js b/src/headless/converse-status.js index 4d338fff7..26b8c3039 100644 --- a/src/headless/converse-status.js +++ b/src/headless/converse-status.js @@ -1,6 +1,6 @@ /** * @module converse-status - * @copyright The Converse.js developers + * @copyright The Converse.js contributors * @license Mozilla Public License (MPLv2) */ import { get, isNaN, isObject, isString } from "lodash"; diff --git a/src/headless/converse-vcard.js b/src/headless/converse-vcard.js index 8e3245306..5e1ca3671 100644 --- a/src/headless/converse-vcard.js +++ b/src/headless/converse-vcard.js @@ -1,6 +1,6 @@ /** * @module converse-vcard - * @copyright The Converse.js developers + * @copyright The Converse.js contributors * @license Mozilla Public License (MPLv2) */ import "./converse-status"; diff --git a/src/headless/i18n.js b/src/headless/i18n.js index 57b1794e4..1ed0b0700 100644 --- a/src/headless/i18n.js +++ b/src/headless/i18n.js @@ -1,11 +1,9 @@ -// Converse.js (A browser based XMPP chat client) -// https://conversejs.org -// -// This is the internationalization module. -// -// Copyright (c) 2013-2017, Jan-Carel Brand -// Licensed under the Mozilla Public License (MPLv2) -// +/** + * @module i18n + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) + * @description This is the internationalization module + */ import Jed from "jed"; import dayjs from "dayjs"; diff --git a/src/headless/utils/core.js b/src/headless/utils/core.js index 3efdcc7b3..7812934fc 100644 --- a/src/headless/utils/core.js +++ b/src/headless/utils/core.js @@ -1,11 +1,8 @@ -// Converse.js (A browser based XMPP chat client) -// https://conversejs.org -// -// This is the utilities module. -// -// Copyright (c) 2013-2019, Jan-Carel Brand -// Licensed under the Mozilla Public License (MPLv2) -// +/** + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) + * @description This is the core utilities module. + */ import * as strophe from 'strophe.js/src/core'; import { Model } from 'skeletor.js/src/model.js'; import _ from "../lodash.noconflict"; diff --git a/src/headless/utils/form.js b/src/headless/utils/form.js index 4844e7c76..5743a588c 100644 --- a/src/headless/utils/form.js +++ b/src/headless/utils/form.js @@ -1,10 +1,8 @@ -// Converse.js (A browser based XMPP chat client) -// https://conversejs.org -// -// This is the utilities module. -// -// Copyright (c) 2013-2019, Jan-Carel Brand -// Licensed under the Mozilla Public License (MPLv2) +/** + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) + * @description This is the form utilities module. + */ import _ from "../lodash.noconflict"; import tpl_field from "../templates/field.html"; diff --git a/src/headless/utils/muc.js b/src/headless/utils/muc.js index 1a18ded24..0564e8943 100644 --- a/src/headless/utils/muc.js +++ b/src/headless/utils/muc.js @@ -1,11 +1,8 @@ -// Converse.js (A browser based XMPP chat client) -// https://conversejs.org -// -// This is the utilities module. -// -// Copyright (c) 2013-2019, Jan-Carel Brand -// Licensed under the Mozilla Public License (MPLv2) -// +/** + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) + * @description This is the MUC utilities module. + */ import { difference, indexOf } from "lodash"; import converse from "@converse/headless/converse-core"; import u from "./core"; diff --git a/src/utils/html.js b/src/utils/html.js index 1edb908ce..085943e6f 100644 --- a/src/utils/html.js +++ b/src/utils/html.js @@ -1,11 +1,8 @@ -// Converse.js (A browser based XMPP chat client) -// https://conversejs.org -// -// This is a form utilities module. -// -// Copyright (c) 2013-2019, Jan-Carel Brand -// Licensed under the Mozilla Public License (MPLv2) - +/** + * @copyright 2020, the Converse.js contributors + * @license Mozilla Public License (MPLv2) + * @description This is the DOM/HTML utilities module. + */ import URI from "urijs"; import _ from "../headless/lodash.noconflict"; import log from '@converse/headless/log';