]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Removed commented code 712/head
authorIskren Chernev <iskren.chernev@gmail.com>
Sat, 6 Apr 2013 06:44:24 +0000 (23:44 -0700)
committerIskren Chernev <iskren.chernev@gmail.com>
Sat, 6 Apr 2013 06:45:17 +0000 (23:45 -0700)
moment.js

index 1700d366c727dd7f1ef01da5794ded76c5217d22..8ded4d0446036faa1b71f0fe6752ff7a32d91b51 100644 (file)
--- a/moment.js
+++ b/moment.js
                     this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');
                 }
                 // test the regex
-                // console.log("testing with regex " + this._monthsParse[i]);
                 if (this._monthsParse[i].test(monthName)) {
-                    // console.log("hit!");
                     return i;
                 }
             }
         var a, b,
             datePartArray = config._a;
 
-        // console.log('attaft ' + token + ' ' + input + ' ' + config);
-
         switch (token) {
         // MONTH
         case 'M' : // fall through to MM
 
         for (i = 0; i < tokens.length; i++) {
             parsedInput = (getParseRegexForToken(tokens[i]).exec(string) || [])[0];
-            // console.log('parsedInput: ' + parsedInput);
             if (parsedInput) {
                 string = string.slice(string.indexOf(parsedInput) + parsedInput.length);
             }