diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-03-31 12:15:40 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-03-31 12:17:18 +0200 |
commit | 3e624dc39966f54c6d418eee2e8141fc5c21f751 (patch) | |
tree | aa5f0fa8498c2ad7f281295296f341aac7cc04ae /core/src/Polyfill | |
parent | 91510d95f15b5b84482b5700b04d229db28fbdff (diff) | |
download | nextcloud-server-3e624dc39966f54c6d418eee2e8141fc5c21f751.tar.gz nextcloud-server-3e624dc39966f54c6d418eee2e8141fc5c21f751.zip |
Bump js licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/src/Polyfill')
-rw-r--r-- | core/src/Polyfill/closest.js | 22 | ||||
-rw-r--r-- | core/src/Polyfill/console.js | 8 | ||||
-rw-r--r-- | core/src/Polyfill/index.js | 6 | ||||
-rw-r--r-- | core/src/Polyfill/tooltip.js | 9 | ||||
-rw-r--r-- | core/src/Polyfill/windows-phone.js | 8 |
5 files changed, 42 insertions, 11 deletions
diff --git a/core/src/Polyfill/closest.js b/core/src/Polyfill/closest.js index 6af05d526a7..059f981e973 100644 --- a/core/src/Polyfill/closest.js +++ b/core/src/Polyfill/closest.js @@ -1,3 +1,25 @@ +/** + * @copyright Copyright (c) 2016 John Molakvoæ <skjnldsv@protonmail.com> + * + * @author John Molakvoæ <skjnldsv@protonmail.com> + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + // https://developer.mozilla.org/en-US/docs/Web/API/Element/closest#Polyfill if (!Element.prototype.matches) { diff --git a/core/src/Polyfill/console.js b/core/src/Polyfill/console.js index 0d60fe6f20d..0659cd6dc42 100644 --- a/core/src/Polyfill/console.js +++ b/core/src/Polyfill/console.js @@ -1,8 +1,8 @@ -/* eslint-disable no-console */ /** * @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at> * - * @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at> + * @author Christoph Wurst <christoph@winzerhof-wurst.at> + * @author John Molakvoæ <skjnldsv@protonmail.com> * * @license GNU AGPL version 3 or any later version * @@ -17,9 +17,11 @@ * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * */ +/* eslint-disable no-console */ if (typeof console === 'undefined' || typeof console.log === 'undefined') { if (!window.console) { window.console = {} diff --git a/core/src/Polyfill/index.js b/core/src/Polyfill/index.js index 306c72a0777..57a1f516695 100644 --- a/core/src/Polyfill/index.js +++ b/core/src/Polyfill/index.js @@ -1,7 +1,8 @@ /** * @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at> * - * @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at> + * @author Christoph Wurst <christoph@winzerhof-wurst.at> + * @author John Molakvoæ <skjnldsv@protonmail.com> * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * */ import './console' diff --git a/core/src/Polyfill/tooltip.js b/core/src/Polyfill/tooltip.js index 2dd7592edb4..1001d62bd8d 100644 --- a/core/src/Polyfill/tooltip.js +++ b/core/src/Polyfill/tooltip.js @@ -1,7 +1,9 @@ -/* +/** * @copyright 2019 Julius Härtl <jus@bitgrid.net> * - * @author 2019 Julius Härtl <jus@bitgrid.net> + * @author Christoph Wurst <christoph@winzerhof-wurst.at> + * @author John Molakvoæ <skjnldsv@protonmail.com> + * @author Julius Härtl <jus@bitgrid.net> * * @license GNU AGPL version 3 or any later version * @@ -16,7 +18,8 @@ * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * */ $.prototype.tooltip = (function(tooltip) { diff --git a/core/src/Polyfill/windows-phone.js b/core/src/Polyfill/windows-phone.js index 983e412e453..6bb01888c43 100644 --- a/core/src/Polyfill/windows-phone.js +++ b/core/src/Polyfill/windows-phone.js @@ -1,7 +1,8 @@ -/* +/** * @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at> * - * @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at> + * @author Christoph Wurst <christoph@winzerhof-wurst.at> + * @author John Molakvoæ <skjnldsv@protonmail.com> * * @license GNU AGPL version 3 or any later version * @@ -16,7 +17,8 @@ * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * */ // fix device width on windows phone |