Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

grips-css: function to normalize selectors #15

Open
getify opened this issue Mar 11, 2014 · 0 comments
Open

grips-css: function to normalize selectors #15

getify opened this issue Mar 11, 2014 · 0 comments
Assignees

Comments

@getify
Copy link
Owner

getify commented Mar 11, 2014

Whenever selectors are processed by the codegen, and they are base64 encoded for the grips partial id's, these selectors need to be normalized. Whenever render(..) is called with a selector, that selector should be normalized, so it can match when base64 encoded the proper grips partial.

Examples of necessary normalizations:

foo     bar

-> foo bar

foo     >       bar

-> foo > bar

foo    /* something */    bar

-> foo bar

@getify getify self-assigned this Mar 11, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant