Skip to content
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

Support multiple transformations per selector #9

Open
danielytics opened this issue Jun 28, 2015 · 1 comment
Open

Support multiple transformations per selector #9

danielytics opened this issue Jun 28, 2015 · 1 comment
Assignees

Comments

@danielytics
Copy link
Member

Currently each selector can only contain one transformation. Since selectors are map keys, you cannot have multiple identical selectors access the same node, so the only way to apply multiple transformations (eg setting content and classes) would be to use different selectors that happen to access the same node (see #8). It would be useful if an ordered list of transformations can be (optionally) supplied to a single selector, which are then applied to the addressed node(s) in order.

This feature is needed by Erinite/template-stylesheets.

@danielytics
Copy link
Member Author

Will implement as soon as #10 is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant