1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-19 21:41:29 +00:00

Fixing a distributing problem

This commit is contained in:
Scott Tolksdorf
2016-04-05 23:07:29 -04:00
parent cb5b63429e
commit 62b9400df1
6 changed files with 27 additions and 20 deletions

View File

@@ -187,7 +187,18 @@ var parser = function(tokens){
/*
var test1 = `
<div test="hey there champ" more_cool=false size=0>
<span>
@@ -205,7 +216,10 @@ var test2 = "<div cool=0 same>Hey there!</div>"
var tokens = tokenizer(test1);
console.log(test1, '\n---\n', tokens, '---\n', JSON.stringify(parser(tokens), null, ' '));
*/
module.exports = function(input){
return parser(tokenizer(input));