diff options
Diffstat (limited to 'core/src/OC/eventsource.js')
-rw-r--r-- | core/src/OC/eventsource.js | 42 |
1 files changed, 19 insertions, 23 deletions
diff --git a/core/src/OC/eventsource.js b/core/src/OC/eventsource.js index cc576d8655a..b4b719d0dd4 100644 --- a/core/src/OC/eventsource.js +++ b/core/src/OC/eventsource.js @@ -1,36 +1,32 @@ -/* eslint-disable */ /** - * ownCloud - * - * @author Robin Appelman * @copyright 2012 Robin Appelman icewind1991@gmail.com * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE - * License as published by the Free Software Foundation; either - * version 3 of the License, or any later version. + * @author Arthur Schiwon <blizzz@arthur-schiwon.de> + * @author Christoph Wurst <christoph@winzerhof-wurst.at> + * @author John Molakvoæ <skjnldsv@protonmail.com> + * @author Lukas Reschke <lukas@statuscode.ch> + * @author Robin Appelman <robin@icewind.nl> + * @author Thomas Müller <thomas.mueller@tmit.eu> + * @author Vincent Petry <vincent@nextcloud.com> + * + * @license GNU AGPL version 3 or any later version * - * This library is distributed in the hope that it will be useful, + * 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 library. If not, see <http://www.gnu.org/licenses/>. + * GNU Affero General Public License for more details. * - */ - -/** - * Wrapper for server side events - * (http://en.wikipedia.org/wiki/Server-sent_events) - * includes a fallback for older browsers and IE + * 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/>. * - * use server side events with caution, too many open requests can hang the - * server */ -/* global EventSource */ - +/* eslint-disable */ import $ from 'jquery' import { getToken } from './requesttoken' |