Skip to content

Commit

Permalink
Add commented console log that helps with debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ichernev committed Jan 9, 2016
1 parent 0eb7101 commit f472e19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/create/from-string-and-format.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f472e19

Please sign in to comment.