From: Iskren Chernev Date: Sat, 9 Jan 2016 09:05:30 +0000 (+0200) Subject: Add commented console log that helps with debugging X-Git-Tag: 2.11.1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f472e19f4bc20fdb768bd3bbab087a8eba041155;p=thirdparty%2Fmoment.git Add commented console log that helps with debugging --- diff --git a/src/lib/create/from-string-and-format.js b/src/lib/create/from-string-and-format.js index ae48b9038..87eecafb3 100644 --- a/src/lib/create/from-string-and-format.js +++ b/src/lib/create/from-string-and-format.js @@ -33,6 +33,8 @@ export function configFromStringAndFormat(config) { for (i = 0; i < tokens.length; i++) { token = tokens[i]; parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0]; + // console.log('token', token, 'parsedInput', parsedInput, + // 'regex', getParseRegexForToken(token, config)); if (parsedInput) { skipped = string.substr(0, string.indexOf(parsedInput)); if (skipped.length > 0) {