-
-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add <template> support. #23
Comments
@domenic You've asked for this. Currently I'm trying to assign tasks priority for all my projects. Do we need this for jsdom 1.0.0? Or it can be delayed for now? |
jsdom 1.0.0 is released!! :D I would like this especially for people who want to parse arbitrary fragments, so we can tell them "put it in a Also I think it'd be cool to close gaps with the HTML standard so parse5 can maintain its claim to fame as the most compliant parser on npm ;) So, medium priority, but not urgent? |
@domenic Oh, I've missed the release, congratulations! |
+1, this is hitting a few people using vulcanize with |
Templates are landed into the master branch. I will roll out a new version within a couple of days. |
Ping @domenic, @Sebmaster. parse5 v1.2.0 with |
Sweeeet! :D We should add a note to jsdom README on how to use this to do fragment parsing. |
@azakus I've updated E.g.: var $table = $('<table><template><tr></tr></template></table>');
console.log($table.find('tr').length); // Will print 0
var tmplContentNode = $table.find('template')[0].childNodes[0],
$tmplContent = $(tmplContentNode);
console.log($tmplContent.find('tr').length); // Will print 1 |
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.5.0 to 5.6.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.6.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
At the time when parse5 was started templates were in draft. Since now they supported by all browsers except IE (surprise!) it's time to land them to parse5.
The text was updated successfully, but these errors were encountered: