Skip to content

querySelector and __pyml__

Compare
Choose a tag to compare
@byteface byteface released this 28 Oct 17:36
· 204 commits to master since this release

querySelectorAll has been limited for ages. Then I started a few css parsers. the most basic one i got working was called getElementsBySelector but that for some reason would only work if a tag was present. So I have now re-directed any queries that are complex to that. making querySelectorAll appear to work. so anyways. now that domonic is compatible with a few html5 parsers I figured I'd just patch that to work properly for now. until some other time.

calling __pyml__ can now create the data attributes the way domonic whats them. which is as variable keyword argument syntax for custom data-tags. Which also makes it clear when you are using a non standard or special attribute.