Rename WoltLab/WCF/Core.getUUID() to WoltLab/WCF/Core.getUuid()
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 18 May 2015 22:41:43 +0000 (00:41 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 18 May 2015 22:41:43 +0000 (00:41 +0200)
wcfsetup/install/files/js/WCF.js
wcfsetup/install/files/js/WoltLab/WCF/Core.js
wcfsetup/install/files/js/WoltLab/WCF/Event/Handler.js

index 3ad13d7cb97658babf139c3d6a2938d88671203f..6a7618684708cd98db669156c992719c91401c93 100755 (executable)
@@ -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) {
index 6ef38d1e824fb1c9cba3bdde0f7d74603075ecff..836d1e8a7058f20fd64bc27b0ff5ae3486ac31d5 100644 (file)
@@ -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);
index aab704836769ee603ae7fa926b2dfecf4f35e75d..fe60ab8755e61502108f8bb70d71d37dd72dc520 100644 (file)
@@ -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;