<file>js/WCF.Core.min.js</file>
<file>js/WCF.ImageViewer.min.js</file>
<file>js/WCF.Label.min.js</file>
+ <file>js/WCF.Like</file>
<file>js/WCF.Like.min.js</file>
<file>js/WCF.Location.min.js</file>
<file>js/WCF.Message.min.js</file>
WCF.User.init({@$__wcf->user->userID}, '{@$__wcf->user->username|encodeJS}');
</script>
-{js application='wcf' file='WCF.Like' bundle='WCF.Combined' hasTiny=true}
{js application='wcf' file='WCF.ACL' bundle='WCF.Combined' hasTiny=true}
{js application='wcf' file='WCF.Attachment' bundle='WCF.Combined' hasTiny=true}
{js application='wcf' file='WCF.ColorPicker' bundle='WCF.Combined' hasTiny=true}
+++ /dev/null
-"use strict";
-
-/**
- * Like support for WCF
- *
- * @author Alexander Ebert
- * @copyright 2001-2019 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- *
- * @deprecated 3.0 - please use `WoltLabSuite/Core/Ui/Reaction/Handler` instead
- */
-WCF.Like = Class.extend({
- init: function() {
- throw new Error("The `WCF.Like` API is obsolete and therefore no longer supported. Please use the current API `WoltLabSuite/Core/Ui/Reaction/Handler` instead.");
- },
- _domNodeInserted: function() {},
- _initContainers: function() {},
- _getContainers: function() {},
- _getWidgetContainer: function() {},
- _getObjectID: function() {},
- _addWidget: function() {},
- _buildWidget: function() {},
- _createWidget: function() {},
- _showLikeDetails: function() {},
- _click: function() {},
- _sendRequest: function() {},
- _success: function() {},
- _updateBadge: function() {},
- _updateSummary: function() {},
- _setActiveState: function() {}
-});
* {js application='wbb' file='WBB'}
* http://example.com/js/WBB.js
*
- * {js application='wcf' file='WCF.Like' bundle='WCF.Combined'}
- * http://example.com/wcf/js/WCF.Like.js (ENABLE_DEBUG_MODE=1)
+ * {js application='wcf' file='WCF.User' bundle='WCF.Combined'}
+ * http://example.com/wcf/js/WCF.User.js (ENABLE_DEBUG_MODE=1)
* http://example.com/wcf/js/WCF.Combined.min.js (ENABLE_DEBUG_MODE=0)
*
* {js application='wcf' lib='jquery'}
* {js application='wcf' lib='jquery-ui' file='awesomeWidget'}
* http://example.com/wcf/js/3rdParty/jquery-ui/awesomeWidget.js
*
- * {js application='wcf' file='WCF.Like' bundle='WCF.Combined' hasTiny=true}
- * http://example.com/wcf/js/WCF.Like.js (ENABLE_DEBUG_MODE=1)
+ * {js application='wcf' file='WCF.User' bundle='WCF.Combined' hasTiny=true}
+ * http://example.com/wcf/js/WCF.User.js (ENABLE_DEBUG_MODE=1)
* http://example.com/wcf/js/WCF.Combined.min.js (ENABLE_DEBUG_MODE=0)
* http://example.com/wcf/js/WCF.Combined.tiny.min.js (ENABLE_DEBUG_MODE=0 && VISITOR_USE_TINY_BUILD=1)
*