From: Tim Düsterhus Date: Mon, 18 May 2015 22:41:43 +0000 (+0200) Subject: Rename WoltLab/WCF/Core.getUUID() to WoltLab/WCF/Core.getUuid() X-Git-Tag: 3.0.0_Beta_1~2385^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=34ec14c875fa97d0188917b102d0e657e9a5133d;p=GitHub%2FWoltLab%2FWCF.git Rename WoltLab/WCF/Core.getUUID() to WoltLab/WCF/Core.getUuid() --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 3ad13d7cb9..6a76186847 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -703,7 +703,7 @@ $.extend(WCF, { }, /** - * @deprecated Use WoltLab/WCF/Core.getUUID() + * @deprecated Use WoltLab/WCF/Core.getUuid(). */ getUUID: function() { return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Core.js b/wcfsetup/install/files/js/WoltLab/WCF/Core.js index 6ef38d1e82..836d1e8a70 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Core.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Core.js @@ -50,7 +50,7 @@ define([], function() { * @see http://stackoverflow.com/a/2117523 * @return {string} */ - getUUID: function() { + getUuid: function() { return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { var r = Math.random()*16|0, v = c == 'x' ? r : (r&0x3|0x8); return v.toString(16); diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Event/Handler.js b/wcfsetup/install/files/js/WoltLab/WCF/Event/Handler.js index aab7048367..fe60ab8755 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Event/Handler.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Event/Handler.js @@ -41,7 +41,7 @@ define(['Core', 'Dictionary'], function(Core, Dictionary) { actions.set(action, callbacks); } - var uuid = Core.getUUID(); + var uuid = Core.getUuid(); callbacks.set(uuid, callback); return uuid;