Comparing version 0.1.49 to 0.1.50
@@ -68,2 +68,7 @@ /** | ||
function parse(html, cb) { | ||
if (!cb) { | ||
throw new Error('Must pass in callback to parse() as 2nd param'); | ||
} | ||
var handler = new htmlparser.DefaultHandler(function (error, dom) { | ||
@@ -77,3 +82,3 @@ if (error) { | ||
} | ||
}); | ||
}, { ignoreWhitespace: true }); | ||
@@ -80,0 +85,0 @@ var parser = new htmlparser.Parser(handler); |
{ | ||
"name": "jyt", | ||
"version": "0.1.49", | ||
"version": "0.1.50", | ||
"description": "JavaScript Your Templates", | ||
@@ -5,0 +5,0 @@ "main": "lib/jyt.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28862
769