Removed obsolete function
authorMarcel Werk <burntime@woltlab.com>
Sun, 4 Nov 2012 22:06:56 +0000 (23:06 +0100)
committerMarcel Werk <burntime@woltlab.com>
Sun, 4 Nov 2012 22:06:56 +0000 (23:06 +0100)
wcfsetup/install/files/js/WCF.js

index 1f4947fbfe770850617cffeb25f928c61e0cb21c..ad4ed0d6f06c756ee9b2de4650779e508bcbb64b 100755 (executable)
@@ -125,16 +125,6 @@ $.extend(true, {
                }
 
                return $length;
-       },
-       
-       /**
-        * Quotes regular expression characters.
-        * 
-        * @param       string          string
-        * @return      string
-        */
-       wcfEscapeRegExp: function(string) {
-           return string.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
        }
 });